aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/build/worker.hh
diff options
context:
space:
mode:
authorRobert Hensing <roberth@users.noreply.github.com>2023-09-07 17:33:02 +0200
committerGitHub <noreply@github.com>2023-09-07 17:33:02 +0200
commite34493a70e59375f65b48c6841a792a24e46ff24 (patch)
treed85b0de783e519dddfa964d5cb0494e93ec4cc61 /src/libstore/build/worker.hh
parent37d6fff113501f9230178215ea61192cd6e4f9f1 (diff)
parent80d7994f52ccefca2f2fbe4ee64741a6f49884ff (diff)
Merge pull request #4628 from obsidiansystems/dynamic-drvs
Dynamic derivations RFC 92
Diffstat (limited to 'src/libstore/build/worker.hh')
-rw-r--r--src/libstore/build/worker.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstore/build/worker.hh b/src/libstore/build/worker.hh
index a778e311c..6f6d25d7d 100644
--- a/src/libstore/build/worker.hh
+++ b/src/libstore/build/worker.hh
@@ -49,7 +49,8 @@ typedef std::chrono::time_point<std::chrono::steady_clock> steady_time_point;
* we have made the function, written in `worker.cc` where all the goal
* types are visible, and use it instead.
*/
-const DerivationGoal * tryGetConcreteDrvGoal(GoalPtr waitee);
+
+std::optional<std::pair<std::reference_wrapper<const DerivationGoal>, std::reference_wrapper<const SingleDerivedPath>>> tryGetConcreteDrvGoal(GoalPtr waitee);
/**
* A mapping used to remember for each child process to what goal it