aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2019-07-25 09:43:24 -0400
committerMatthew Bauer <mjbauer95@gmail.com>2019-07-25 09:44:01 -0400
commit03addc3b0a79cb7a58ae5651d1915af7383a220c (patch)
treeadc3ca8280480560a3a8e5414e023da0306cd707
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
-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 c99ce84ac..9933eba94 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() {