diff options
author | Théophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com> | 2023-08-07 13:11:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-07 13:11:44 +0200 |
commit | 5df0f1755f36c2dbee29e5e434e1adc138601d5f (patch) | |
tree | 865925824eb2f597114c31ae814bea80074e6f78 /src/libexpr/eval.hh | |
parent | 9113b4252b5cebebb929915dd0f3e230238be1ab (diff) | |
parent | caabc4f64889d5a4c47d6102b3aa1d3c80bbc107 (diff) |
Merge pull request #8692 from obsidiansystems/add-another-xp-check
Feature gate `DownstreamPlaceholder::unknownCaOutput`
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 887b9cb97..29d0f05a1 100644 --- a/src/libexpr/eval.hh +++ b/src/libexpr/eval.hh @@ -689,12 +689,15 @@ public: * be passed if and only if output store object is input-addressed. * Will be printed to form string if passed, otherwise a placeholder * will be used (see `DownstreamPlaceholder`). + * + * @param xpSettings Stop-gap to avoid globals during unit tests. */ void mkOutputString( Value & value, const StorePath & drvPath, const std::string outputName, - std::optional<StorePath> optOutputPath); + std::optional<StorePath> optOutputPath, + const ExperimentalFeatureSettings & xpSettings = experimentalFeatureSettings); void concatLists(Value & v, size_t nrLists, Value * * lists, const PosIdx pos, std::string_view errorCtx); |