aboutsummaryrefslogtreecommitdiff
path: root/tests/structured-attrs.sh
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2021-06-22 19:45:08 +0200
committerMaximilian Bosch <maximilian@mbosch.me>2021-06-22 19:45:08 +0200
commit27ce722638eeabb987bc9b4a1234c2818c5bf401 (patch)
tree1112ae949adbc528448f04acb7446f5fbfd5e2db /tests/structured-attrs.sh
parenta92245b11026c884e76a1903abc0d47f84d79f5c (diff)
Prefix env vars for attrs.* files with NIX_
Diffstat (limited to 'tests/structured-attrs.sh')
-rw-r--r--tests/structured-attrs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/structured-attrs.sh b/tests/structured-attrs.sh
index f851b3cbb..9612020b8 100644
--- a/tests/structured-attrs.sh
+++ b/tests/structured-attrs.sh
@@ -11,7 +11,7 @@ nix-build structured-attrs.nix -A all -o $TEST_ROOT/result
export NIX_BUILD_SHELL=$SHELL
env NIX_PATH=nixpkgs=shell.nix nix-shell structured-attrs-shell.nix \
- --run 'test -e .attrs.json; test "3" = "$(jq ".my.list|length" < $ATTRS_JSON_FILE)"'
+ --run 'test -e .attrs.json; test "3" = "$(jq ".my.list|length" < $NIX_ATTRS_JSON_FILE)"'
# `nix develop` is a slightly special way of dealing with environment vars, it parses
# these from a shell-file exported from a derivation. This is to test especially `outputs`