hydra-queue-runner: Set isCachedBuild

This commit is contained in:
Eelco Dolstra 2015-06-18 03:28:58 +02:00
parent 8257812d0a
commit 47367451c7

View file

@ -1138,7 +1138,8 @@ bool State::doBuildStep(std::shared_ptr<StoreAPI> store, Step::ptr step,
/* Mark all builds of which this derivation is the top /* Mark all builds of which this derivation is the top
level as succeeded. */ level as succeeded. */
for (auto build2 : direct) for (auto build2 : direct)
markSucceededBuild(txn, build2, res, false, result.startTime, result.stopTime); markSucceededBuild(txn, build2, res, build != build2,
result.startTime, result.stopTime);
} else { } else {
/* Failure case. */ /* Failure case. */