1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-13 14:02:42 +01:00

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 clearStore
clearProfiles clearProfiles
rm -r ~/.nix-profile rm -rf ~/.nix-profile
# Fill the environment using the older Nix # Fill the environment using the older Nix
PATH_WITH_NEW_NIX="$PATH" PATH_WITH_NEW_NIX="$PATH"