diff --git a/src/script/hydra_build.pl b/src/script/hydra_build.pl index 328acad1..90041c0b 100755 --- a/src/script/hydra_build.pl +++ b/src/script/hydra_build.pl @@ -55,7 +55,7 @@ sub doBuild { # !!! should disregard fixed-output derivations (?) if (!isValidPath($dep)) { 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) { $buildStatus = 5; $failedDepBuild = $step->id->id;