nix-daemon: Allow any client to set build-max-log-size.
Changes
1 files changed · +1 −0
| File | Status | Add | Del | Content |
|---|---|---|---|---|
| nix/nix-daemon/nix-daemon.cc | modified | +1 | −0 | View file |
nix/nix-daemon/nix-daemon.cc
View filediff --git a/nix/nix-daemon/nix-daemon.cc b/nix/nix-daemon/nix-daemon.cc
index b3cdb69..c240cc8 100644
--- a/nix/nix-daemon/nix-daemon.cc
+++ b/nix/nix-daemon/nix-daemon.cc
@@ -629,6 +629,7 @@ static void performOp(bool trusted, unsigned int clientVersion,
string name = readString(from);
string value = readString(from);
if (name == "build-timeout" || name == "build-max-silent-time"
+ || name == "build-max-log-size"
|| name == "build-max-jobs" || name == "build-cores"
|| name == "build-repeat"
|| name == "multiplexed-build-output")