1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-30 07:33:16 +02:00

Fix build-remote in nix-static

'build-remote' is now executed via /proc/self/exe so it always works.
This commit is contained in:
Eelco Dolstra 2022-06-22 22:43:53 +02:00
parent 3c48c4b4f7
commit d3176ce076
7 changed files with 47 additions and 12 deletions

View file

@ -195,7 +195,7 @@ public:
)",
{"build-timeout"}};
PathSetting buildHook{this, true, nixLibexecDir + "/nix/build-remote", "build-hook",
PathSetting buildHook{this, true, "", "build-hook",
"The path of the helper program that executes builds to remote machines."};
Setting<std::string> builders{