aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/daemon.cc
diff options
context:
space:
mode:
authorregnat <rg@regnat.ovh>2021-01-25 11:08:38 +0100
committerregnat <rg@regnat.ovh>2021-02-23 08:04:03 +0100
commit27b5747ca7b5599768083dde5fa4d36bfbb0f66f (patch)
treec741f1753a777598a40bb3a567c7189489454e11 /src/libstore/daemon.cc
parenta2b69660a9b326b95d48bd222993c5225bbd5b5f (diff)
RemoteStore: Send back the new realisations
To allow it to build ca derivations remotely
Diffstat (limited to 'src/libstore/daemon.cc')
-rw-r--r--src/libstore/daemon.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libstore/daemon.cc b/src/libstore/daemon.cc
index ba5788b64..ba7959263 100644
--- a/src/libstore/daemon.cc
+++ b/src/libstore/daemon.cc
@@ -575,6 +575,9 @@ static void performOp(TunnelLogger * logger, ref<Store> store,
auto res = store->buildDerivation(drvPath, drv, buildMode);
logger->stopWork();
to << res.status << res.errorMsg;
+ if (GET_PROTOCOL_MINOR(clientVersion) >= 0xc) {
+ worker_proto::write(*store, to, res.builtOutputs);
+ }
break;
}