about summary refs log tree commit diff
path: root/tests/install-darwin.sh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-07-25T15·47+0200
committerGitHub <noreply@github.com>2019-07-25T15·47+0200
commit41a52466854ab3a7d4adedc3777c0b0585ef79fe (patch)
tree010b85f06261261ba1bcbe6881691ff8eadcc593 /tests/install-darwin.sh
parent1fb8e2605ad4779013fc75f6a98362df74af535b (diff)
parent03addc3b0a79cb7a58ae5651d1915af7383a220c (diff)
Merge pull request #3008 from matthewbauer/fix-typo
Use $HOME instead of $USER
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() {