whatsupnix: stdenv.lib -> lib
Deprecated since nixpkgs 21.05
This commit is contained in:
parent
7e045768bf
commit
5c613bd73a
@ -1,4 +1,6 @@
|
|||||||
{ bash, coreutils, gawk, makeWrapper, nix, openssh, stdenv }:
|
{ lib, makeWrapper, stdenv
|
||||||
|
, bash, coreutils, gawk, nix, openssh
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "whatsupnix";
|
name = "whatsupnix";
|
||||||
@ -8,7 +10,7 @@ stdenv.mkDerivation {
|
|||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
cat - ${./whatsupnix.bash} > $out/bin/whatsupnix <<\EOF
|
cat - ${./whatsupnix.bash} > $out/bin/whatsupnix <<\EOF
|
||||||
#! ${bash}/bin/bash
|
#! ${bash}/bin/bash
|
||||||
export PATH=${stdenv.lib.makeBinPath [ coreutils gawk nix openssh ]}
|
export PATH=${lib.makeBinPath [ coreutils gawk nix openssh ]}
|
||||||
EOF
|
EOF
|
||||||
chmod +x $out/bin/whatsupnix
|
chmod +x $out/bin/whatsupnix
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user