Merge pull request #4308 from tweag/properly-test-early-cutoff

Properly test the early cutoff for CA derivations
This commit is contained in:
Eelco Dolstra
2020-12-03 14:45:29 +01:00
committed by GitHub
2 changed files with 9 additions and 12 deletions
-5
View File
@@ -223,11 +223,6 @@ void Worker::run(const Goals & _topGoals)
uint64_t downloadSize, narSize;
store.queryMissing(topPaths, willBuild, willSubstitute, unknown, downloadSize, narSize);
if (!willBuild.empty() && 0 == settings.maxBuildJobs && getMachines().empty())
throw Error(
"%d derivations need to be built, but neither local builds ('--max-jobs') "
"nor remote builds ('--builders') are enabled", willBuild.size());
debug("entered goal loop");
while (1) {