summary refs log tree commit diff
path: root/nixos/modules/system/boot/systemd-unit-options.nix
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2016-04-14 18:14:28 +0300
committerNikolay Amiantov <ab@fmap.me>2016-04-25 13:24:39 +0300
commitab0a0c004e1076315c8ed910437e6cf9c2f087ff (patch)
tree07b55b8caf43faf9803d80e3e71b90ed226a9bd2 /nixos/modules/system/boot/systemd-unit-options.nix
parent7d3e75827bc20d50a3b9172ed8891e5bffb30c93 (diff)
downloadnixpkgs-ab0a0c004e1076315c8ed910437e6cf9c2f087ff.tar
nixpkgs-ab0a0c004e1076315c8ed910437e6cf9c2f087ff.tar.gz
nixpkgs-ab0a0c004e1076315c8ed910437e6cf9c2f087ff.tar.bz2
nixpkgs-ab0a0c004e1076315c8ed910437e6cf9c2f087ff.tar.lz
nixpkgs-ab0a0c004e1076315c8ed910437e6cf9c2f087ff.tar.xz
nixpkgs-ab0a0c004e1076315c8ed910437e6cf9c2f087ff.tar.zst
nixpkgs-ab0a0c004e1076315c8ed910437e6cf9c2f087ff.zip
makeSearchPathOutputs: refactor to makeSearchPathOutput
Diffstat (limited to 'nixos/modules/system/boot/systemd-unit-options.nix')
-rw-r--r--nixos/modules/system/boot/systemd-unit-options.nix2
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 c8c9cda913c..f2a22e4ada8 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: "${makeBinPath ps}:${makeSearchPathOutputs "sbin" ["bin"] ps}";
+      apply = ps: "${makeBinPath ps}:${makeSearchPathOutput "bin" "sbin" ps}";
       description = ''
         Packages added to the service's <envar>PATH</envar>
         environment variable.  Both the <filename>bin</filename>