diff --git a/tests/user-envs-migration.sh b/tests/user-envs-migration.sh index ddfd12f58..467c28fbb 100644 --- a/tests/user-envs-migration.sh +++ b/tests/user-envs-migration.sh @@ -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"