aboutsummaryrefslogtreecommitdiff
path: root/tests/user-envs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/user-envs.sh')
-rw-r--r--tests/user-envs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/user-envs.sh b/tests/user-envs.sh
index 8d5756f77..b8df8c373 100644
--- a/tests/user-envs.sh
+++ b/tests/user-envs.sh
@@ -3,7 +3,7 @@ source common.sh
profiles="$NIX_STATE_DIR"/profiles
# Query installed: should be empty.
-test "$($nixenv -p $profiles/test -q | wc -l)" -eq 0
+test "$($nixenv -p $profiles/test -q '*' | wc -l)" -eq 0
# Query available: should contain several.
test "$($nixenv -p $profiles/test -f ./user-envs.nix -qa '*' | wc -l)" -eq 5