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:
regnat
2021-10-14 15:43:22 +02:00
committed by Théophane Hufschmitt
parent 303abee699
commit a3c17cfc73

View File

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