build: add test for sandboxed --check

This commit is contained in:
Daiderd Jordan 2019-05-12 16:46:21 +02:00
parent ff6867ab94
commit d75bdb5793
No known key found for this signature in database
GPG Key ID: D02435D05B810C96
1 changed files with 3 additions and 0 deletions

View File

@ -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