diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2020-08-06 15:34:15 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2020-08-06 15:34:15 +0000 |
commit | 5e59b25a232b9c11b8f8da7e539d17a71fad1bbe (patch) | |
tree | 017dc357a5735a5ad2d3bc4dd51729117449ac83 /src/libstore | |
parent | d5d9907a9ebd89e84d5031cd767dd4d97145803a (diff) | |
parent | 61464478427c4106ce20c1e61bfd5f53f3f49f37 (diff) |
Merge remote-tracking branch 'upstream/master' into make-narHash-not-optional
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/build.cc | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc index dba5e4af4..3370af63d 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -4876,8 +4876,17 @@ void Worker::run(const Goals & _topGoals) waitForInput(); else { if (awake.empty() && 0 == settings.maxBuildJobs) - throw Error("unable to start any build; either increase '--max-jobs' " - "or enable remote builds"); + { + if (getMachines().empty()) + throw Error("unable to start any build; either increase '--max-jobs' " + "or enable remote builds." + "\nhttps://nixos.org/nix/manual/#chap-distributed-builds"); + else + throw Error("unable to start any build; remote machines may not have " + "all required system features." + "\nhttps://nixos.org/nix/manual/#chap-distributed-builds"); + + } assert(!awake.empty()); } } |