From 06d75699a7a7ee549642a8d92002c1585fcc1856 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 10 Jul 2015 16:56:53 +0200 Subject: [PATCH] Fix restarting a build --- src/lib/Hydra/Helper/Nix.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Hydra/Helper/Nix.pm b/src/lib/Hydra/Helper/Nix.pm index 8c955e52..3a898745 100644 --- a/src/lib/Hydra/Helper/Nix.pm +++ b/src/lib/Hydra/Helper/Nix.pm @@ -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; }