mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 00:08:07 +02:00
parent
12f9129f60
commit
82248abd8f
1 changed files with 8 additions and 0 deletions
|
@ -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