about summary refs log tree commit diff
path: root/tests/install-darwin.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/install-darwin.sh')
-rwxr-xr-xtests/install-darwin.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/install-darwin.sh b/tests/install-darwin.sh
index c99ce84acab0..9933eba94431 100755
--- a/tests/install-darwin.sh
+++ b/tests/install-darwin.sh
@@ -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() {