From 5294a0a8a012bb577d075db73f60703b043ce56f Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 4 Oct 2013 17:11:42 +0200 Subject: [PATCH] Register restarted derivations as GC roots --- src/lib/Hydra/Helper/Nix.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/Hydra/Helper/Nix.pm b/src/lib/Hydra/Helper/Nix.pm index 26742625..3b6afbf9 100644 --- a/src/lib/Hydra/Helper/Nix.pm +++ b/src/lib/Hydra/Helper/Nix.pm @@ -575,6 +575,8 @@ sub restartBuilds($$) { push @paths, $build->drvpath; push @paths, $_->drvpath foreach $build->buildsteps; + registerRoot $build->drvpath; + $build->update( { finished => 0 , busy => 0