diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-04-13 15:53:51 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-04-13 22:09:41 +0300 |
commit | 8b7ebaffeb3087ef18ff5c0f38cc3f44f7f8124e (patch) | |
tree | 8bab721107fae818dad896a0876d50d3d0a0d981 /pkgs/tools/misc | |
parent | e26119619f7ce64b065e692ba0cd31f53b9ef637 (diff) | |
download | nixlib-8b7ebaffeb3087ef18ff5c0f38cc3f44f7f8124e.tar nixlib-8b7ebaffeb3087ef18ff5c0f38cc3f44f7f8124e.tar.gz nixlib-8b7ebaffeb3087ef18ff5c0f38cc3f44f7f8124e.tar.bz2 nixlib-8b7ebaffeb3087ef18ff5c0f38cc3f44f7f8124e.tar.lz nixlib-8b7ebaffeb3087ef18ff5c0f38cc3f44f7f8124e.tar.xz nixlib-8b7ebaffeb3087ef18ff5c0f38cc3f44f7f8124e.tar.zst nixlib-8b7ebaffeb3087ef18ff5c0f38cc3f44f7f8124e.zip |
replace makeSearchPath tree-wise to take care of possible multiple outputs
Diffstat (limited to 'pkgs/tools/misc')
-rw-r--r-- | pkgs/tools/misc/tlp/default.nix | 2 | ||||
-rw-r--r-- | pkgs/tools/misc/xfstests/default.nix | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/misc/tlp/default.nix b/pkgs/tools/misc/tlp/default.nix index 7b57458bd3f4..e20dc850008a 100644 --- a/pkgs/tools/misc/tlp/default.nix +++ b/pkgs/tools/misc/tlp/default.nix @@ -26,7 +26,7 @@ in stdenv.mkDerivation { buildInputs = [ perl ]; - paths = lib.makeSearchPath "bin" + paths = lib.makeBinPath ([ iw rfkill hdparm ethtool inetutils systemd module_init_tools pciutils smartmontools x86_energy_perf_policy gawk gnugrep coreutils ] diff --git a/pkgs/tools/misc/xfstests/default.nix b/pkgs/tools/misc/xfstests/default.nix index b7c1795c0372..957582a3687f 100644 --- a/pkgs/tools/misc/xfstests/default.nix +++ b/pkgs/tools/misc/xfstests/default.nix @@ -72,7 +72,7 @@ stdenv.mkDerivation { ln -s @out@/lib/xfstests/$f $f done - export PATH=${lib.makeSearchPath "bin" [acl attr bc e2fsprogs fio gawk libcap_progs lvm2 perl procps psmisc su utillinux which xfsprogs]}:$PATH + export PATH=${lib.makeBinPath [acl attr bc e2fsprogs fio gawk libcap_progs lvm2 perl procps psmisc su utillinux which xfsprogs]}:$PATH exec ./check "$@" ''; |