aboutsummaryrefslogtreecommitdiff
path: root/src/nix-store
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix-store')
-rw-r--r--src/nix-store/nix-store.cc12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/nix-store/nix-store.cc b/src/nix-store/nix-store.cc
index 11d2e86e3..79002626d 100644
--- a/src/nix-store/nix-store.cc
+++ b/src/nix-store/nix-store.cc
@@ -959,17 +959,7 @@ static void opServe(Strings opFlags, Strings opArgs)
MonitorFdHup monitor(in.fd);
auto status = store->buildDerivation(drvPath, drv);
- out << status.status << status.errorMsg;
-
- if (GET_PROTOCOL_MINOR(clientVersion) >= 3)
- out << status.timesBuilt << status.isNonDeterministic << status.startTime << status.stopTime;
- if (GET_PROTOCOL_MINOR(clientVersion) >= 6) {
- DrvOutputs builtOutputs;
- for (auto & [output, realisation] : status.builtOutputs)
- builtOutputs.insert_or_assign(realisation.id, realisation);
- ServeProto::write(*store, wconn, builtOutputs);
- }
-
+ ServeProto::write(*store, wconn, status);
break;
}