about summary refs log tree commit diff
path: root/src/nix-worker
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix-worker')
-rw-r--r--src/nix-worker/nix-worker.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nix-worker/nix-worker.cc b/src/nix-worker/nix-worker.cc
index ddc58c024b91..7511b1c2c1e7 100644
--- a/src/nix-worker/nix-worker.cc
+++ b/src/nix-worker/nix-worker.cc
@@ -426,8 +426,11 @@ static void performOp(unsigned int clientVersion,
         maxSilentTime = readInt(from);
         if (GET_PROTOCOL_MINOR(clientVersion) >= 2)
             useBuildHook = readInt(from) != 0;
-        if (GET_PROTOCOL_MINOR(clientVersion) >= 4)
+        if (GET_PROTOCOL_MINOR(clientVersion) >= 4) {
             buildVerbosity = (Verbosity) readInt(from);
+            logType = (LogType) readInt(from);
+            printBuildTrace = readInt(from) != 0;
+        }
         startWork();
         stopWork();
         break;