From 47367451c7bcf0bee640f1319ffab63859c0eeb5 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 18 Jun 2015 03:28:58 +0200 Subject: [PATCH] hydra-queue-runner: Set isCachedBuild --- src/hydra-queue-runner/hydra-queue-runner.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hydra-queue-runner/hydra-queue-runner.cc b/src/hydra-queue-runner/hydra-queue-runner.cc index 21f747f0..6cd5c828 100644 --- a/src/hydra-queue-runner/hydra-queue-runner.cc +++ b/src/hydra-queue-runner/hydra-queue-runner.cc @@ -1138,7 +1138,8 @@ bool State::doBuildStep(std::shared_ptr store, Step::ptr step, /* Mark all builds of which this derivation is the top level as succeeded. */ for (auto build2 : direct) - markSucceededBuild(txn, build2, res, false, result.startTime, result.stopTime); + markSucceededBuild(txn, build2, res, build != build2, + result.startTime, result.stopTime); } else { /* Failure case. */