Higher timeout for prefetching bazaar inputs.

This commit is contained in:
Rob Vermaas 2013-12-11 17:34:30 +01:00
parent a92a57f3b0
commit f25f8dbfa3

View file

@ -47,7 +47,7 @@ sub fetchInput {
$ENV{"PRINT_PATH"} = "1"; $ENV{"PRINT_PATH"} = "1";
$ENV{"NIX_PREFETCH_BZR_LEAVE_DOT_BZR"} = $type eq "bzr-checkout" ? "1" : "0"; $ENV{"NIX_PREFETCH_BZR_LEAVE_DOT_BZR"} = $type eq "bzr-checkout" ? "1" : "0";
(my $res, $stdout, $stderr) = captureStdoutStderr(600, (my $res, $stdout, $stderr) = captureStdoutStderr(1200,
"nix-prefetch-bzr", $uri, $revision); "nix-prefetch-bzr", $uri, $revision);
die "cannot check out Bazaar branch `$uri':\n$stderr" if $res; die "cannot check out Bazaar branch `$uri':\n$stderr" if $res;