about summary refs log tree commit diff
path: root/tests/install-darwin.sh
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2019-07-25T13·43-0400
committerMatthew Bauer <mjbauer95@gmail.com>2019-07-25T13·44-0400
commit03addc3b0a79cb7a58ae5651d1915af7383a220c (patch)
treeadc3ca8280480560a3a8e5414e023da0306cd707 /tests/install-darwin.sh
parentb640f69a4d33eb3833cf0ac3000d189dacbd0f5a (diff)
Use $HOME instead of $USER
$USER/.nix-profile will not be a path. I think $HOME/.nix-profile was
the origininal intent.

/cc @Grahamc
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() {