mirror of
https://github.com/NixOS/nix.git
synced 2025-11-16 15:32:43 +01:00
RemoteStore: Send back the new realisations
To allow it to build ca derivations remotely
This commit is contained in:
parent
a2b69660a9
commit
27b5747ca7
3 changed files with 8 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue