makeSearchPathOutputs: refactor to makeSearchPathOutput

This commit is contained in:
Nikolay Amiantov
2016-04-25 13:24:39 +03:00
parent 7d3e75827b
commit ab0a0c004e
18 changed files with 21 additions and 22 deletions
@@ -58,7 +58,7 @@ let
path = (makeBinPath ([
pkgs.coreutils pkgs.gnused pkgs.gnugrep pkgs.findutils pkgs.diffutils pkgs.btrfs-progs
pkgs.utillinux ] ++ (if cfg.efiSupport && (cfg.version == 2) then [pkgs.efibootmgr ] else [])
)) + ":" + (makeSearchPathOutputs "sbin" ["bin"] [
)) + ":" + (makeSearchPathOutput "bin" "sbin" [
pkgs.mdadm pkgs.utillinux
]);
});