aboutsummaryrefslogtreecommitdiff
path: root/tests/structured-attrs.nix
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.nix
parenta92245b11026c884e76a1903abc0d47f84d79f5c (diff)
Prefix env vars for attrs.* files with NIX_
Diffstat (limited to 'tests/structured-attrs.nix')
-rw-r--r--tests/structured-attrs.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/structured-attrs.nix b/tests/structured-attrs.nix
index f69ee45e9..e93139a44 100644
--- a/tests/structured-attrs.nix
+++ b/tests/structured-attrs.nix
@@ -36,7 +36,7 @@ mkDerivation {
echo bar > $dest
echo foo > $dest2
- json=$(cat $ATTRS_JSON_FILE)
+ json=$(cat $NIX_ATTRS_JSON_FILE)
[[ $json =~ '"narHash":"sha256:1r7yc43zqnzl5b0als5vnyp649gk17i37s7mj00xr8kc47rjcybk"' ]]
[[ $json =~ '"narSize":288' ]]
[[ $json =~ '"closureSize":288' ]]