Merge remote-tracking branch 'upstream/master' into split-buildRemote

This commit is contained in:
John Ericson
2023-11-30 11:27:40 -05:00
30 changed files with 380 additions and 273 deletions

View File

@@ -21,6 +21,7 @@
#include "store-api.hh"
#include "sync.hh"
#include "nar-extractor.hh"
#include "worker-protocol.hh"
typedef unsigned int BuildID;
@@ -308,6 +309,16 @@ struct Machine
// Backpointer to the machine
ptr machine;
operator nix::WorkerProto::ReadConn ()
{
return { .from = from };
}
operator nix::WorkerProto::WriteConn ()
{
return { .to = to };
}
};
};