diff --git a/src/hydra-queue-runner/builder.cc b/src/hydra-queue-runner/builder.cc index 929532ff..eef6ab50 100644 --- a/src/hydra-queue-runner/builder.cc +++ b/src/hydra-queue-runner/builder.cc @@ -91,7 +91,7 @@ bool State::doBuildStep(std::shared_ptr store, Step::ptr step, % step->drvPath % machine->sshName % build->id % (dependents.size() - 1)); } - bool quit = build->id == buildOne; + bool quit = build->id == buildOne && step->drvPath == build->drvPath; auto conn(dbPool.get());