aboutsummaryrefslogtreecommitdiff
path: root/tests/structured-attrs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/structured-attrs.sh')
-rw-r--r--tests/structured-attrs.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/structured-attrs.sh b/tests/structured-attrs.sh
index 9ba2672b6..646bdb876 100644
--- a/tests/structured-attrs.sh
+++ b/tests/structured-attrs.sh
@@ -2,6 +2,7 @@ source common.sh
clearStore
-outPath=$(nix-build structured-attrs.nix --no-out-link)
+nix-build structured-attrs.nix -A all -o $TEST_ROOT/result
-[[ $(cat $outPath/foo) = bar ]]
+[[ $(cat $TEST_ROOT/result/foo) = bar ]]
+[[ $(cat $TEST_ROOT/result-dev/foo) = foo ]]