From da532975a410c7e59805aab2d3c48acadd6bb06d Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 17 Jun 2015 14:53:10 +0200 Subject: trying inheriting --- custom/run-opossum_bragi.nix | 5 ++--- users/gkleen@bragi.nix | 4 +++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/custom/run-opossum_bragi.nix b/custom/run-opossum_bragi.nix index 34452ef7..bc8e4bb0 100644 --- a/custom/run-opossum_bragi.nix +++ b/custom/run-opossum_bragi.nix @@ -7,10 +7,9 @@ , opossum }: -let - version = "0.0.0"; -in stdenv.mkDerivation { +stdenv.mkDerivation { name = "run-opossum-${version}"; + version = "0.0.0"; buildInputs = [ makeWrapper ]; src = builtins.toFile name '' #!${zsh}/bin/zsh diff --git a/users/gkleen@bragi.nix b/users/gkleen@bragi.nix index 414033d5..e5685ccf 100644 --- a/users/gkleen@bragi.nix +++ b/users/gkleen@bragi.nix @@ -57,7 +57,9 @@ --prefix PATH : ${pkgs.youtube-dl}/bin ''; }; - runOpossum = with pkgs; callPackage ../custom/run-opossum_bragi.nix {}; + runOpossum = with pkgs; callPackage ../custom/run-opossum_bragi.nix { + inherit stdenv zsh findutils coreutils; + }; }; } ); -- cgit v1.2.3