From 299141ecbd08bae17013226dbeae71e842b4fdd7 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 2 Jan 2013 12:38:28 +0100 Subject: If a substitute closure is incomplete, build dependencies, then retry the substituter Issue #77. --- tests/binary-cache.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/binary-cache.sh b/tests/binary-cache.sh index 7a3dc04c93b7..2e38a9d938b3 100644 --- a/tests/binary-cache.sh +++ b/tests/binary-cache.sh @@ -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 -- cgit 1.4.1