diff options
author | lassulus <lassulus@lassul.us> | 2021-06-03 19:17:58 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2021-06-03 19:17:58 +0200 |
commit | 86007337ddd9fd0be613ac895635807d8bfc2bd7 (patch) | |
tree | 0374b42d7a7be1a84598f87feefe1311b810e784 /krebs/5pkgs/simple/whatsupnix | |
parent | c230b5ef3f0e7122bbff68735fa8e7a1a98acea6 (diff) | |
parent | c4c40afca5cd83917376804ae6e8259cbfc571d9 (diff) |
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'krebs/5pkgs/simple/whatsupnix')
-rw-r--r-- | krebs/5pkgs/simple/whatsupnix/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/krebs/5pkgs/simple/whatsupnix/default.nix b/krebs/5pkgs/simple/whatsupnix/default.nix index 62ef597c8..61972bb05 100644 --- a/krebs/5pkgs/simple/whatsupnix/default.nix +++ b/krebs/5pkgs/simple/whatsupnix/default.nix @@ -1,4 +1,6 @@ -{ bash, coreutils, gawk, makeWrapper, nix, openssh, stdenv }: +{ lib, makeWrapper, stdenv +, bash, coreutils, gawk, nix, openssh +}: stdenv.mkDerivation { name = "whatsupnix"; @@ -8,7 +10,7 @@ stdenv.mkDerivation { mkdir -p $out/bin cat - ${./whatsupnix.bash} > $out/bin/whatsupnix <<\EOF #! ${bash}/bin/bash - export PATH=${stdenv.lib.makeBinPath [ coreutils gawk nix openssh ]} + export PATH=${lib.makeBinPath [ coreutils gawk nix openssh ]} EOF chmod +x $out/bin/whatsupnix ''; |