forked from lix-project/lix
parent
12f9129f60
commit
82248abd8f
|
@ -37,3 +37,11 @@ nix-store --option binary-caches "file://$cacheDir" -r $outPath
|
|||
nix-store --check-validity $outPath
|
||||
nix-store -qR $outPath | grep input-2
|
||||
|
||||
|
||||
# Test whether building works if the binary cache contains an
|
||||
# incomplete closure.
|
||||
clearStore
|
||||
|
||||
rm $(grep -l "StorePath:.*dependencies-input-2" $cacheDir/*.narinfo)
|
||||
|
||||
nix-build --option binary-caches "file://$cacheDir" dependencies.nix -o $TEST_ROOT/result
|
||||
|
|
Loading…
Reference in a new issue