Register restarted derivations as GC roots
This commit is contained in:
parent
052bab169d
commit
5294a0a8a0
|
@ -575,6 +575,8 @@ sub restartBuilds($$) {
|
||||||
push @paths, $build->drvpath;
|
push @paths, $build->drvpath;
|
||||||
push @paths, $_->drvpath foreach $build->buildsteps;
|
push @paths, $_->drvpath foreach $build->buildsteps;
|
||||||
|
|
||||||
|
registerRoot $build->drvpath;
|
||||||
|
|
||||||
$build->update(
|
$build->update(
|
||||||
{ finished => 0
|
{ finished => 0
|
||||||
, busy => 0
|
, busy => 0
|
||||||
|
|
Loading…
Reference in a new issue