forked from lix-project/hydra
Restore old findBuildDependencyInQueue behaviour
This commit is contained in:
parent
b1a26e6caa
commit
b1f7096935
|
@ -48,7 +48,6 @@ sub unlockDeadBuilds {
|
|||
# depends; or undef if no such build exists.
|
||||
sub findBuildDependencyInQueue {
|
||||
my ($buildsByDrv, $build) = @_;
|
||||
return undef; # FIXME
|
||||
return undef unless isValidPath($build->drvpath);
|
||||
my @deps = grep { /\.drv$/ && $_ ne $build->drvpath } computeFSClosure(0, 0, $build->drvpath);
|
||||
return unless scalar @deps > 0;
|
||||
|
|
Loading…
Reference in a new issue