mirror of
https://github.com/NixOS/nix
synced 2025-07-03 02:01:48 +02:00
WIP systematize more of the worker protocol
This refactor should *not* change the wire protocol.
This commit is contained in:
parent
fbeb8695fb
commit
2f2ae993dc
9 changed files with 132 additions and 135 deletions
|
@ -1864,11 +1864,11 @@ HookReply DerivationGoal::tryBuildHook()
|
|||
|
||||
/* Tell the hook all the inputs that have to be copied to the
|
||||
remote system. */
|
||||
writeStorePaths(worker.store, hook->sink, inputPaths);
|
||||
write(worker.store, hook->sink, inputPaths);
|
||||
|
||||
/* Tell the hooks the missing outputs that have to be copied back
|
||||
from the remote system. */
|
||||
writeStorePaths(worker.store, hook->sink, missingPaths);
|
||||
write(worker.store, hook->sink, missingPaths);
|
||||
|
||||
hook->sink = FdSink();
|
||||
hook->toHook.writeSide = -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue