1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-28 17:51:15 +02:00

RemoteStore: Send back the new realisations

To allow it to build ca derivations remotely
This commit is contained in:
regnat 2021-01-25 11:08:38 +01:00
parent a2b69660a9
commit 27b5747ca7
3 changed files with 8 additions and 1 deletions

View file

@ -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;
}