1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 01:51:47 +02:00

If a substitute closure is incomplete, build dependencies, then retry the substituter

Issue #77.
This commit is contained in:
Eelco Dolstra 2013-01-02 12:38:28 +01:00
parent 1b3a78a459
commit 299141ecbd
2 changed files with 30 additions and 8 deletions

View file

@ -44,4 +44,5 @@ clearStore
rm $(grep -l "StorePath:.*dependencies-input-2" $cacheDir/*.narinfo)
nix-build --option binary-caches "file://$cacheDir" dependencies.nix -o $TEST_ROOT/result
nix-build --option binary-caches "file://$cacheDir" dependencies.nix -o $TEST_ROOT/result 2>&1 | tee $TEST_ROOT/log
grep -q "Downloading" $TEST_ROOT/log