diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-12-03 14:45:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-03 14:45:29 +0100 |
commit | 0bd060f23ac2a63f4e9605b2b85ce7ac1cae0d77 (patch) | |
tree | e686ca6a880aaf68ece61b2aa9161d89d1e25c45 /src/libstore | |
parent | 4f25644a130748296326470b0d8000dc2ac46c8f (diff) | |
parent | 8ad72b1f1c272d01d5d67b21553fc261c8df5302 (diff) |
Merge pull request #4308 from tweag/properly-test-early-cutoff
Properly test the early cutoff for CA derivations
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/build/worker.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/libstore/build/worker.cc b/src/libstore/build/worker.cc index 1f8999a4b..6c96a93bd 100644 --- a/src/libstore/build/worker.cc +++ b/src/libstore/build/worker.cc @@ -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) { |