diff options
| author | Daiderd Jordan <daiderd@gmail.com> | 2017-05-15 19:22:44 +0200 |
|---|---|---|
| committer | Daiderd Jordan <daiderd@gmail.com> | 2017-05-15 19:46:34 +0200 |
| commit | 1b6f56f5b8042000a826ecba2ebe52a831e2df46 (patch) | |
| tree | 4dda5f9485d38401c588c9e374a0bae25f3e15a1 /modules/programs/bash.nix | |
| parent | c8ce901a43747eb79a986d90e016e5145dd0e616 (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/programs/bash.nix')
| -rw-r--r-- | modules/programs/bash.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/programs/bash.nix b/modules/programs/bash.nix index abd2875..da79742 100644 --- a/modules/programs/bash.nix +++ b/modules/programs/bash.nix @@ -63,7 +63,7 @@ in if [ -n "$__ETC_BASHRC_SOURCED" -o -n "$NOSYSBASHRC" ]; then return; fi __ETC_BASHRC_SOURCED=1 - export PATH=${config.environment.systemPath}''${PATH:+:$PATH} + export PATH=${config.environment.systemPath} ${config.system.build.setEnvironment} ${config.system.build.setAliases} |
