activation-scripts: include system in PATH
This makes rollback more reliable by using the same version of tools that where used previously. For example nix is used during the activation checks.
This commit is contained in:
parent
ca1678c06c
commit
29f9fb52b3
1 changed files with 2 additions and 2 deletions
|
|
@ -40,7 +40,7 @@ in
|
|||
#! ${stdenv.shell}
|
||||
set -e
|
||||
set -o pipefail
|
||||
export PATH=${pkgs.coreutils}/bin:${config.environment.systemPath}
|
||||
export PATH=${pkgs.coreutils}/bin:@out@/sw/bin:${config.environment.systemPath}
|
||||
|
||||
systemConfig=@out@
|
||||
|
||||
|
|
@ -82,7 +82,7 @@ in
|
|||
#! ${stdenv.shell}
|
||||
set -e
|
||||
set -o pipefail
|
||||
export PATH=${pkgs.coreutils}/bin:${config.environment.systemPath}
|
||||
export PATH=${pkgs.coreutils}/bin:@out@/sw/bin:${config.environment.systemPath}
|
||||
|
||||
systemConfig=@out@
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue