aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/build/derivation-goal.cc
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-07-08 02:18:03 +0200
committereldritch horrors <pennae@lix.systems>2024-07-16 00:57:42 +0000
commit6b4d46e9e0e1dd80e0977684ab20d14bcd1a6bc3 (patch)
treeb79f09fe3c9e62de804ab8aca8a8fec6d08bbb48 /src/libstore/build/derivation-goal.cc
parenta5d1f698417dff4e470eb94c38ad6c4e5ebf38ff (diff)
libstore: remove WriteConn::sink fields
we no longer need these since we're no longer using sinks to serialize things. Change-Id: Iffb1a3eab33c83f611c88fa4e8beaa8d5ffa079b
Diffstat (limited to 'src/libstore/build/derivation-goal.cc')
-rw-r--r--src/libstore/build/derivation-goal.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libstore/build/derivation-goal.cc b/src/libstore/build/derivation-goal.cc
index a97c32599..ef16cd011 100644
--- a/src/libstore/build/derivation-goal.cc
+++ b/src/libstore/build/derivation-goal.cc
@@ -1204,11 +1204,9 @@ HookReply DerivationGoal::tryBuildHook()
throw;
}
- CommonProto::WriteConn conn { hook->sink };
-
/* Tell the hook all the inputs that have to be copied to the
remote system. */
- conn.to << CommonProto::write(worker.store, conn, inputPaths);
+ hook->sink << CommonProto::write(worker.store, {}, inputPaths);
/* Tell the hooks the missing outputs that have to be copied back
from the remote system. */
@@ -1219,7 +1217,7 @@ HookReply DerivationGoal::tryBuildHook()
if (buildMode != bmCheck && status.known && status.known->isValid()) continue;
missingOutputs.insert(outputName);
}
- conn.to << CommonProto::write(worker.store, conn, missingOutputs);
+ hook->sink << CommonProto::write(worker.store, {}, missingOutputs);
}
hook->sink = FdSink();