mirror of
https://github.com/NixOS/nix
synced 2025-06-27 21:01:16 +02:00
build-remote: Ugly hackery to get build logs to work
The build hook mechanism expects build log output to go to file descriptor 4, so do that.
This commit is contained in:
parent
3a5f04f48c
commit
feefcb3a98
4 changed files with 11 additions and 3 deletions
|
@ -241,7 +241,7 @@ int main (int argc, char * * argv)
|
|||
|
||||
try {
|
||||
|
||||
Store::Params storeParams{{"max-connections", "1"}};
|
||||
Store::Params storeParams{{"max-connections", "1"}, {"log-fd", "4"}};
|
||||
if (bestMachine->sshKey != "")
|
||||
storeParams["ssh-key"] = bestMachine->sshKey;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue