hydra: if evaluator sees cached build, also add the buildproducts

This commit is contained in:
Rob Vermaas
2010-09-07 11:29:52 +00:00
parent 6d74064999
commit 38d50806b9
3 changed files with 66 additions and 60 deletions

View File

@ -117,8 +117,8 @@ sub getChannelData {
my @storePaths = ();
foreach my $build (@builds2) {
next unless isValidPath($build->outpath);
if (isValidPath($build->drvpath)) {
next unless Hydra::Helper::Nix::isValidPath($build->outpath);
if (Hydra::Helper::Nix::isValidPath($build->drvpath)) {
# Adding `drvpath' implies adding `outpath' because of the
# `--include-outputs' flag passed to `nix-store'.
push @storePaths, $build->drvpath;