Skip to content

Commit

Permalink
reword description of the builders-use-substitutes setting
Browse files Browse the repository at this point in the history
  • Loading branch information
fricklerhandwerk committed Dec 2, 2023
1 parent 84fe429 commit 450c5eb
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/libstore/globals.hh
Original file line number Diff line number Diff line change
Expand Up @@ -276,13 +276,10 @@ public:
Setting<bool> buildersUseSubstitutes{
this, false, "builders-use-substitutes",
R"(
If set to `true`, Nix will instruct remote build machines to use
their own binary substitutes if available. In practical terms, this
means that remote hosts will fetch as many build dependencies as
possible from their own substitutes (e.g, from `cache.nixos.org`),
instead of waiting for this host to upload them all. This can
drastically reduce build times if the network connection between
this computer and the remote build host is slow.
If set to `true`, Nix will instruct [remote build machines](#conf-builders) to use their own [`substituters`](#conf-substituters) if available.
In practical terms, this means that remote build hosts will fetch as many dependencies as possible from their own substitutes (e.g, from `cache.nixos.org`) instead of waiting for the local machine to upload them all.
This can drastically reduce build times if the network connection between the local machine and the remote build host is slow.
)"};

Setting<off_t> reservedSize{this, 8 * 1024 * 1024, "gc-reserved-space",
Expand Down

0 comments on commit 450c5eb

Please sign in to comment.