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 /nixos/modules/system/boot/systemd-unit-options.nix | |
parent | e26119619f7ce64b065e692ba0cd31f53b9ef637 (diff) | |
download | nixpkgs-8b7ebaffeb3087ef18ff5c0f38cc3f44f7f8124e.tar nixpkgs-8b7ebaffeb3087ef18ff5c0f38cc3f44f7f8124e.tar.gz nixpkgs-8b7ebaffeb3087ef18ff5c0f38cc3f44f7f8124e.tar.bz2 nixpkgs-8b7ebaffeb3087ef18ff5c0f38cc3f44f7f8124e.tar.lz nixpkgs-8b7ebaffeb3087ef18ff5c0f38cc3f44f7f8124e.tar.xz nixpkgs-8b7ebaffeb3087ef18ff5c0f38cc3f44f7f8124e.tar.zst nixpkgs-8b7ebaffeb3087ef18ff5c0f38cc3f44f7f8124e.zip |
replace makeSearchPath tree-wise to take care of possible multiple outputs
Diffstat (limited to 'nixos/modules/system/boot/systemd-unit-options.nix')
-rw-r--r-- | nixos/modules/system/boot/systemd-unit-options.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/systemd-unit-options.nix b/nixos/modules/system/boot/systemd-unit-options.nix index d4cab93b26b..c8c9cda913c 100644 --- a/nixos/modules/system/boot/systemd-unit-options.nix +++ b/nixos/modules/system/boot/systemd-unit-options.nix @@ -193,7 +193,7 @@ in rec { path = mkOption { default = []; - apply = ps: "${makeSearchPath "bin" ps}:${makeSearchPath "sbin" ps}"; + apply = ps: "${makeBinPath ps}:${makeSearchPathOutputs "sbin" ["bin"] ps}"; description = '' Packages added to the service's <envar>PATH</envar> environment variable. Both the <filename>bin</filename> |