about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/nix-profile.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/nix-profile.sh b/tests/nix-profile.sh
index 5530d7737689..c9c756b60c04 100644
--- a/tests/nix-profile.sh
+++ b/tests/nix-profile.sh
@@ -6,5 +6,5 @@ mkdir -p $home
 HOME=$home $SHELL -e -c ". $sysconfdir/profile.d/nix.sh"
 HOME=$home $SHELL -e -c ". $sysconfdir/profile.d/nix.sh" # test idempotency
 
-[ -e $home/.nix-profile ]
+[ -L $home/.nix-profile ]
 [ -e $home/.nix-channels ]