aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/build/derivation-goal.hh
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-08-14 12:32:26 +0200
committerjade <lix@jade.fyi>2024-08-19 09:13:44 +0000
commitb40369942cdb3e713c473515b9760f8a0d2ed3cc (patch)
tree8d49819ec6ddbc9d5dfef8aa6d04b8791e7b27e9 /src/libstore/build/derivation-goal.hh
parentfca523d66126ea1df7c3eda9ab1a2c9b7b1c7ba5 (diff)
libstore: make Worker::childStarted private
this can be a proper WorkResult now. childTerminated is unfortunately a lot more stubborn and won't be made private for quite a while yet. once we can get rid of the Worker poll loop that *should* be possible though Change-Id: I2218df202da5cb84e852f6a37e4c20367495b617
Diffstat (limited to 'src/libstore/build/derivation-goal.hh')
-rw-r--r--src/libstore/build/derivation-goal.hh6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libstore/build/derivation-goal.hh b/src/libstore/build/derivation-goal.hh
index f7d86ed2e..c9638c2b6 100644
--- a/src/libstore/build/derivation-goal.hh
+++ b/src/libstore/build/derivation-goal.hh
@@ -15,7 +15,9 @@ using std::map;
struct HookInstance;
struct HookReplyBase {
- struct [[nodiscard]] Accept {};
+ struct [[nodiscard]] Accept {
+ std::set<int> fds;
+ };
struct [[nodiscard]] Decline {};
struct [[nodiscard]] Postpone {};
};
@@ -345,7 +347,7 @@ struct DerivationGoal : public Goal
WorkResult repairClosure();
- WorkResult started();
+ void started();
Finished done(
BuildResult::Status status,