1
0
Fork 0
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:
Robert Helgesson 2017-05-15 23:50:16 +02:00
parent 8c7811a213
commit 1347d99fd0
No known key found for this signature in database
GPG key ID: C3DB11069E65DC86

View file

@ -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}