summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2017-05-15 19:22:44 +0200
committerDaiderd Jordan <daiderd@gmail.com>2017-05-15 19:46:34 +0200
commit1b6f56f5b8042000a826ecba2ebe52a831e2df46 (patch)
tree4dda5f9485d38401c588c9e374a0bae25f3e15a1 /modules/system
parentc8ce901a43747eb79a986d90e016e5145dd0e616 (diff)
environment: include /usr/sbin and /sbin in systemPath
Don't extend initial PATH adding extra entries should be done through appending environment.systemPath or manually extending it with environment.extraInit or similar options.
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/activation-scripts.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/system/activation-scripts.nix b/modules/system/activation-scripts.nix
index 069d8da..0f14e91 100644
--- a/modules/system/activation-scripts.nix
+++ b/modules/system/activation-scripts.nix
@@ -40,7 +40,7 @@ in
#! ${stdenv.shell}
set -e
set -o pipefail
- export PATH=${pkgs.coreutils}/bin:${config.environment.systemPath}:$PATH
+ export PATH=${pkgs.coreutils}/bin:${config.environment.systemPath}
systemConfig=@out@
@@ -75,7 +75,7 @@ in
#! ${stdenv.shell}
set -e
set -o pipefail
- export PATH=${pkgs.coreutils}/bin:${config.environment.systemPath}:$PATH
+ export PATH=${pkgs.coreutils}/bin:${config.environment.systemPath}
systemConfig=@out@