aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/eval.hh
diff options
context:
space:
mode:
authorGuillaume Maudoux <guillaume.maudoux@tweag.io>2022-11-29 00:25:36 +0100
committerGuillaume Maudoux <guillaume.maudoux@tweag.io>2023-01-19 14:10:56 +0100
commitca7c5e08c10d3ebd5a491a52c76f29b1dc102375 (patch)
tree3d804b2cecf6720918c44b38b14825849fb6e86a /src/libexpr/eval.hh
parente4726a0c797a2680b9149015dc5e6c1a922fc686 (diff)
Add tests for error traces, and fixes
Diffstat (limited to 'src/libexpr/eval.hh')
-rw-r--r--src/libexpr/eval.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh
index 46b8cbaa5..1d2e5005b 100644
--- a/src/libexpr/eval.hh
+++ b/src/libexpr/eval.hh
@@ -375,9 +375,9 @@ public:
booleans and lists to a string. If `copyToStore' is set,
referenced paths are copied to the Nix store as a side effect. */
BackedStringView coerceToString(const PosIdx pos, Value & v, PathSet & context,
+ std::string_view errorCtx,
bool coerceMore = false, bool copyToStore = true,
- bool canonicalizePath = true,
- std::string_view errorCtx = "");
+ bool canonicalizePath = true);
StorePath copyPathToStore(PathSet & context, const Path & path);