1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-02 05:11:47 +02:00
This commit is contained in:
Eelco Dolstra 2009-03-31 15:50:03 +00:00
parent 160a60d663
commit cff2b2a13a

View file

@ -2551,7 +2551,7 @@ void Worker::run(const Goals & _topGoals)
if (!children.empty() || !waitingForAWhile.empty())
waitForInput();
else {
if (maxBuildJobs == 0) throw Error(
if (awake.empty() && maxBuildJobs == 0) throw Error(
"unable to start any build; either increase `--max-jobs' "
"or enable distributed builds");
assert(!awake.empty());