infect: remove nix profile in the end
continuous-integration/drone/push Build is passing Details

api-3.0
Alexander 2024-01-10 00:25:54 +04:00
parent 8ce494c490
commit 8f00617b3d
1 changed files with 2 additions and 1 deletions

View File

@ -520,7 +520,8 @@ infect() {
fi
# Remove nix installed by the "install" script.
rm -fv /nix/var/nix/profiles/default*
rm -fv /nix/var/nix/profiles/default* /root/.nix-profile
rm -rv /nix/var/nix/profiles/per-user
/nix/var/nix/profiles/system/sw/bin/nix-collect-garbage
}