diff options
author | Daiderd Jordan <daiderd@gmail.com> | 2019-05-12T14·46+0200 |
---|---|---|
committer | Daiderd Jordan <daiderd@gmail.com> | 2019-05-12T14·46+0200 |
commit | d75bdb5793e5ebf9e480f5a0012d141347725801 (patch) | |
tree | f2b92a9260d02f3e05c695130dd98ba3b157b503 /tests | |
parent | ff6867ab94cbe9ddcb4ba18d68a4a2dcb79b865d (diff) |
build: add test for sandboxed --check
Diffstat (limited to 'tests')
-rw-r--r-- | tests/linux-sandbox.sh | 3 |
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 |