mirror of
https://github.com/NixOS/nix.git
synced 2024-10-30 22:00:57 +00:00
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 New Issue
Block a user