about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2019-05-12T14·46+0200
committerDaiderd Jordan <daiderd@gmail.com>2019-05-12T14·46+0200
commitd75bdb5793e5ebf9e480f5a0012d141347725801 (patch)
treef2b92a9260d02f3e05c695130dd98ba3b157b503
parentff6867ab94cbe9ddcb4ba18d68a4a2dcb79b865d (diff)
build: add test for sandboxed --check
-rw-r--r--tests/linux-sandbox.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/linux-sandbox.sh b/tests/linux-sandbox.sh
index acfd46c54170..52967d07dda2 100644
--- a/tests/linux-sandbox.sh
+++ b/tests/linux-sandbox.sh
@@ -25,3 +25,6 @@ nix path-info -r $outPath | grep input-2
 nix ls-store -R -l $outPath | grep foobar
 
 nix cat-store $outPath/foobar | grep FOOBAR
+
+# Test --check without hash rewriting.
+nix-build dependencies.nix --no-out-link --check --sandbox-paths /nix/store