mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
Use $HOME instead of $USER
$USER/.nix-profile will not be a path. I think $HOME/.nix-profile was the origininal intent. /cc @Grahamc
This commit is contained in:
parent
b640f69a4d
commit
03addc3b0a
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ cleanup() {
|
|||
sudo rm -rf /etc/nix \
|
||||
/nix \
|
||||
/var/root/.nix-profile /var/root/.nix-defexpr /var/root/.nix-channels \
|
||||
"$USER/.nix-profile" "$USER/.nix-defexpr" "$USER/.nix-channels"
|
||||
"$HOME/.nix-profile" "$HOME/.nix-defexpr" "$HOME/.nix-channels"
|
||||
}
|
||||
|
||||
verify() {
|
||||
|
|
Loading…
Reference in a new issue