* Disregard failing substituters.

This commit is contained in:
Eelco Dolstra 2009-03-10 11:49:18 +00:00
parent 18f25a1226
commit 7ea69e7a9d

View file

@ -55,7 +55,7 @@ sub doBuild {
# !!! should disregard fixed-output derivations (?) # !!! should disregard fixed-output derivations (?)
if (!isValidPath($dep)) { if (!isValidPath($dep)) {
my ($step) = $db->resultset('BuildSteps')->search( my ($step) = $db->resultset('BuildSteps')->search(
{outPath => $dep}, {rows => 1, order_by => "stopTime DESC", busy => 0}); {outPath => $dep}, {rows => 1, order_by => "stopTime DESC", type => 0, busy => 0});
if ($step && $step->status != 0) { if ($step && $step->status != 0) {
$buildStatus = 5; $buildStatus = 5;
$failedDepBuild = $step->id->id; $failedDepBuild = $step->id->id;