aboutsummaryrefslogtreecommitdiff
path: root/tests/nix-build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/nix-build.sh')
-rw-r--r--tests/nix-build.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/nix-build.sh b/tests/nix-build.sh
index 395264863..0eb599608 100644
--- a/tests/nix-build.sh
+++ b/tests/nix-build.sh
@@ -23,3 +23,6 @@ outPath2=$(nix-build $(nix-instantiate dependencies.nix) --no-out-link)
outPath2=$(nix-build $(nix-instantiate dependencies.nix)!out --no-out-link)
[[ $outPath = $outPath2 ]]
+
+outPath2=$(nix-store -r $(nix-instantiate --indirect --add-root $TEST_ROOT/indirect dependencies.nix)!out)
+[[ $outPath = $outPath2 ]]