aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-12-18 14:25:25 +0100
committerEelco Dolstra <edolstra@gmail.com>2019-12-18 14:25:25 +0100
commit87873d0d656890f693aa29f062dd8fc496a9d6ae (patch)
tree16e332e447e01114cd296dc94d9aa9937c9d7602 /tests
parent31c240ee8b5f7949439eede0d7953d04261147fe (diff)
parentf8abbdd4565542464f31f4dc203a9c3e091b3536 (diff)
Merge remote-tracking branch 'origin/master' into flakes
Diffstat (limited to 'tests')
-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 ]]