Harden the user-envs-migration test
Make sure that an absent `.nix-profile` at the begining doesn’t crash it
This commit is contained in:
committed by
Théophane Hufschmitt
parent
303abee699
commit
a3c17cfc73
@@ -13,7 +13,7 @@ unset NIX_REMOTE
|
||||
|
||||
clearStore
|
||||
clearProfiles
|
||||
rm -r ~/.nix-profile
|
||||
rm -rf ~/.nix-profile
|
||||
|
||||
# Fill the environment using the older Nix
|
||||
PATH_WITH_NEW_NIX="$PATH"
|
||||
|
||||
Reference in New Issue
Block a user