mirror of
https://github.com/nix-community/home-manager.git
synced 2025-03-31 04:04:32 +00:00
home-environment: use explicit PATH in activation
In the activation script we expect to use the tools provided by GNU Core Utilities and GNU Bash. This commit therefore explicitly add these first in the `PATH` environment variable.
This commit is contained in:
parent
8c7811a213
commit
1347d99fd0
1 changed files with 3 additions and 0 deletions
|
@ -375,6 +375,9 @@ in
|
|||
set -eu
|
||||
set -o pipefail
|
||||
|
||||
# We assume coreutils command and Bash.
|
||||
export PATH="${pkgs.coreutils}/bin:${pkgs.bash}/bin/bash:$PATH"
|
||||
|
||||
. ${./lib-bash/color-echo.sh}
|
||||
|
||||
${builtins.readFile ./lib-bash/activation-init.sh}
|
||||
|
|
Loading…
Add table
Reference in a new issue