Fix restarting a build

This commit is contained in:
Eelco Dolstra 2015-07-10 16:56:53 +02:00
parent 7f865a30d5
commit 06d75699a7

View file

@ -449,7 +449,7 @@ sub restartBuilds($$) {
foreach my $build ($builds->all) {
next if !isValidPath($build->drvpath);
push @paths, $build->drvpath;
push @paths, $_->path foreach $build->buildoutputs->all;
push @buildIds, $build->id;
registerRoot $build->drvpath;
}