summary refs log tree commit diff
path: root/nixos/modules/system/boot/systemd-unit-options.nix
diff options
context:
space:
mode:
authorJanne Heß <janne@hess.ooo>2020-06-19 11:45:27 +0200
committerJanne Heß <janne@hess.ooo>2020-09-03 20:27:55 +0200
commit8cf4ec8b97f4a76aa3243e344e64c8a29b8788cc (patch)
treea1fef2200975d9a42a7b5ff6ddea46b2c07f235a /nixos/modules/system/boot/systemd-unit-options.nix
parent94c2122d38aefec7aaf707757970e7a5a471b907 (diff)
downloadnixpkgs-8cf4ec8b97f4a76aa3243e344e64c8a29b8788cc.tar
nixpkgs-8cf4ec8b97f4a76aa3243e344e64c8a29b8788cc.tar.gz
nixpkgs-8cf4ec8b97f4a76aa3243e344e64c8a29b8788cc.tar.bz2
nixpkgs-8cf4ec8b97f4a76aa3243e344e64c8a29b8788cc.tar.lz
nixpkgs-8cf4ec8b97f4a76aa3243e344e64c8a29b8788cc.tar.xz
nixpkgs-8cf4ec8b97f4a76aa3243e344e64c8a29b8788cc.tar.zst
nixpkgs-8cf4ec8b97f4a76aa3243e344e64c8a29b8788cc.zip
nixos/systemd: Don't use apply for $PATH
When not using apply, other modules can use $PATH as a list instead of
getting a colon-separated list to each /bin directory.
Diffstat (limited to 'nixos/modules/system/boot/systemd-unit-options.nix')
-rw-r--r--nixos/modules/system/boot/systemd-unit-options.nix1
1 files changed, 0 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/systemd-unit-options.nix b/nixos/modules/system/boot/systemd-unit-options.nix
index ac6fed440a2..5addc6f9ca4 100644
--- a/nixos/modules/system/boot/systemd-unit-options.nix
+++ b/nixos/modules/system/boot/systemd-unit-options.nix
@@ -234,7 +234,6 @@ in rec {
     path = mkOption {
       default = [];
       type = with types; listOf (oneOf [ package str ]);
-      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>