mirror of
https://github.com/NixOS/nix
synced 2025-07-03 02:01:48 +02:00
Use template structs instead of phantoms
This commit is contained in:
parent
3d8240c32e
commit
9ab07e99f5
8 changed files with 148 additions and 156 deletions
|
@ -1864,11 +1864,11 @@ HookReply DerivationGoal::tryBuildHook()
|
|||
|
||||
/* Tell the hook all the inputs that have to be copied to the
|
||||
remote system. */
|
||||
nix::worker_proto::write(worker.store, hook->sink, inputPaths);
|
||||
WorkerProto<StorePathSet>::write(worker.store, hook->sink, inputPaths);
|
||||
|
||||
/* Tell the hooks the missing outputs that have to be copied back
|
||||
from the remote system. */
|
||||
nix::worker_proto::write(worker.store, hook->sink, missingPaths);
|
||||
WorkerProto<StorePathSet>::write(worker.store, hook->sink, missingPaths);
|
||||
|
||||
hook->sink = FdSink();
|
||||
hook->toHook.writeSide = -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue