summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-06-17 14:53:10 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2015-06-17 14:53:10 +0200
commitda532975a410c7e59805aab2d3c48acadd6bb06d (patch)
tree2c2f757f644ebd28f7d35b315574b8b777ab2a3f
parent12eef53b67c28c3b448b2b1eb08b79509fb6cef4 (diff)
downloadnixos-da532975a410c7e59805aab2d3c48acadd6bb06d.tar
nixos-da532975a410c7e59805aab2d3c48acadd6bb06d.tar.gz
nixos-da532975a410c7e59805aab2d3c48acadd6bb06d.tar.bz2
nixos-da532975a410c7e59805aab2d3c48acadd6bb06d.tar.xz
nixos-da532975a410c7e59805aab2d3c48acadd6bb06d.zip
trying inheriting
-rw-r--r--custom/run-opossum_bragi.nix5
-rw-r--r--users/gkleen@bragi.nix4
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 @@
7, opossum 7, opossum
8}: 8}:
9 9
10let 10stdenv.mkDerivation {
11 version = "0.0.0";
12in stdenv.mkDerivation {
13 name = "run-opossum-${version}"; 11 name = "run-opossum-${version}";
12 version = "0.0.0";
14 buildInputs = [ makeWrapper ]; 13 buildInputs = [ makeWrapper ];
15 src = builtins.toFile name '' 14 src = builtins.toFile name ''
16 #!${zsh}/bin/zsh 15 #!${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 @@
57 --prefix PATH : ${pkgs.youtube-dl}/bin 57 --prefix PATH : ${pkgs.youtube-dl}/bin
58 ''; 58 '';
59 }; 59 };
60 runOpossum = with pkgs; callPackage ../custom/run-opossum_bragi.nix {}; 60 runOpossum = with pkgs; callPackage ../custom/run-opossum_bragi.nix {
61 inherit stdenv zsh findutils coreutils;
62 };
61 }; 63 };
62 } 64 }
63 ); 65 );