aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/remote-store.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/remote-store.cc
parenta2b69660a9b326b95d48bd222993c5225bbd5b5f (diff)
RemoteStore: Send back the new realisations
To allow it to build ca derivations remotely
Diffstat (limited to 'src/libstore/remote-store.cc')
-rw-r--r--src/libstore/remote-store.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libstore/remote-store.cc b/src/libstore/remote-store.cc
index 52d633372..0d884389a 100644
--- a/src/libstore/remote-store.cc
+++ b/src/libstore/remote-store.cc
@@ -680,6 +680,10 @@ BuildResult RemoteStore::buildDerivation(const StorePath & drvPath, const BasicD
unsigned int status;
conn->from >> status >> res.errorMsg;
res.status = (BuildResult::Status) status;
+ if (GET_PROTOCOL_MINOR(conn->daemonVersion) >= 0xc) {
+ auto builtOutputs = worker_proto::read(*this, conn->from, Phantom<DrvOutputs> {});
+ res.builtOutputs = builtOutputs;
+ }
return res;
}