1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-09 16:13:54 +02:00

Merge pull request #13419 from NixOS/fix-indent

This commit is contained in:
Sergei Zimmerman 2025-07-04 20:27:32 +03:00 committed by GitHub
commit 6bf997e0bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -362,23 +362,14 @@ void Worker::run(const Goals & _topGoals)
else if (awake.empty() && 0U == settings.maxBuildJobs) { else if (awake.empty() && 0U == settings.maxBuildJobs) {
if (getMachines().empty()) if (getMachines().empty())
throw Error( throw Error(
R"( "Unable to start any build; either increase '--max-jobs' or enable remote builds.\n"
Unable to start any build; "\n"
either increase '--max-jobs' or enable remote builds. "For more information run 'man nix.conf' and search for '/machines'.");
For more information run 'man nix.conf' and search for '/machines'.
)"
);
else else
throw Error( throw Error(
R"( "Unable to start any build; remote machines may not have all required system features.\n"
Unable to start any build; "\n"
remote machines may not have all required system features. "For more information run 'man nix.conf' and search for '/machines'.");
For more information run 'man nix.conf' and search for '/machines'.
)"
);
} else assert(!awake.empty()); } else assert(!awake.empty());
} }