From c3832cd497a8fcd87e84878c6ee3bbc10f42d0ca Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Fri, 7 Aug 2026 16:45:00 +0100 Subject: nix-daemon: Allow any client to set build-max-log-size. I want to use the build-max-log-size feature since it's useful for the bordeaux build farm to cap the log size. I can't see any reason to limit this functionality as I think it has the same security implications as the build-timeout and build-max-silent-time settings. * nix/nix-daemon/nix-daemon.cc (performOp): Allow any client to set build-max-log-size. Change-Id: I87825c43ef914c85866e82fe1ed899f13a559b38 --- nix/nix-daemon/nix-daemon.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'nix') diff --git a/nix/nix-daemon/nix-daemon.cc b/nix/nix-daemon/nix-daemon.cc index 49172d53e9e..5e8ae3a5cd8 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") -- cgit v1.2.3