diff options
author | regnat <rg@regnat.ovh> | 2021-12-20 19:46:55 +0100 |
---|---|---|
committer | regnat <rg@regnat.ovh> | 2021-12-21 09:36:50 +0100 |
commit | d90f9d4b9994dc1f15b9d664ae313f06261d6058 (patch) | |
tree | 95e68ff5cec503447a310138095f3cab13edd799 /src/libexpr/eval.hh | |
parent | cbbd21ec073781f68029daff153dac2516dafc23 (diff) |
Fix IFD with CA derivations
Rewrite the string taken by the IFD-like primops to contain the actual
output paths of the derivations rather than the placeholders
Fix #5805
Diffstat (limited to 'src/libexpr/eval.hh')
-rw-r--r-- | src/libexpr/eval.hh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh index 1aab8e166..0ba570434 100644 --- a/src/libexpr/eval.hh +++ b/src/libexpr/eval.hh @@ -350,7 +350,10 @@ public: /* Print statistics. */ void printStats(); - void realiseContext(const PathSet & context); + /* Realise the given context, and return a mapping from the placeholders + * used to construct the associated value to their final store path + */ + [[nodiscard]] StringMap realiseContext(const PathSet & context); private: |