aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/globals.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2023-02-27 17:33:25 +0100
committerGitHub <noreply@github.com>2023-02-27 17:33:25 +0100
commitf08ad5bdbac02167f7d9f5e7f9bab57cf1c5f8c4 (patch)
tree32056cf4fe6b7849866608d27da0cec730fc79b8 /src/libstore/globals.hh
parent995bfeef3bd2883af5bcd159c5e7723ada4dbd38 (diff)
parentfd0e21475ce4147f4e26dc4933bd26ce4773adea (diff)
Merge pull request #7913 from fricklerhandwerk/master
add information on the `build-hook` setting
Diffstat (limited to 'src/libstore/globals.hh')
-rw-r--r--src/libstore/globals.hh11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/libstore/globals.hh b/src/libstore/globals.hh
index 0a4912f67..93086eaf8 100644
--- a/src/libstore/globals.hh
+++ b/src/libstore/globals.hh
@@ -201,7 +201,16 @@ public:
{"build-timeout"}};
PathSetting buildHook{this, true, "", "build-hook",
- "The path of the helper program that executes builds to remote machines."};
+ R"(
+ The path to the helper program that executes remote builds.
+
+ Nix communicates with the build hook over `stdio` using a custom protocol to request builds that cannot be performed directly by the Nix daemon.
+ The default value is the internal Nix binary that implements remote building.
+
+ > **Important**
+ >
+ > Change this setting only if you really know what you’re doing.
+ )"};
Setting<std::string> builders{
this, "@" + nixConfDir + "/machines", "builders",