diff options
author | DavHau <hsngrmpf+github@gmail.com> | 2021-03-04 16:14:23 +0700 |
---|---|---|
committer | DavHau <hsngrmpf+github@gmail.com> | 2021-03-04 16:14:23 +0700 |
commit | e16431b4665c0362f66bace7734fed0a6c0692d5 (patch) | |
tree | c272f6c109e7bfac5a9ea626e96a03fd952f513f | |
parent | 665d4ec2dac6734caff9de5b030be123cb7276ef (diff) |
improve man page for nix.conf (builders)
-rw-r--r-- | src/libstore/globals.hh | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/libstore/globals.hh b/src/libstore/globals.hh index a51d9c2f1..bf0767dfa 100644 --- a/src/libstore/globals.hh +++ b/src/libstore/globals.hh @@ -206,7 +206,17 @@ public: Setting<std::string> builders{ this, "@" + nixConfDir + "/machines", "builders", - "A semicolon-separated list of build machines, in the format of `nix.machines`."}; + R"( + A semicolon-separated list of build machines, where each machine follows this format: + + {protocol}://{user}@{host} [{comma sep. systems} - {maxJobs} {speedFactor} {comma sep. features}] + + Examples: + + ssh://root@builder1.com + + ssh://root@builder2.com x86_64-linux,aarch64-linux - 40 20 nixos-test,benchmark,big-parallel,kvm + )"}; Setting<bool> buildersUseSubstitutes{ this, false, "builders-use-substitutes", |