aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2021-10-15 00:17:11 -0500
committerGitHub <noreply@github.com>2021-10-15 00:17:11 -0500
commit330650d294ff1cfe2e45ec72f09f2c3f3b80a2d0 (patch)
tree91f2d0cfa2499b0ffcf81d77d08c53741057c25c /src
parent4c0cde95ad8dc95f876e5cf32790e73e08f49b28 (diff)
parent1bdeef83958251e728abe9398b4286cb6b5e9551 (diff)
Merge pull request #5389 from kamadorueda/master
add pos to EvalState::forceValue
Diffstat (limited to 'src')
-rw-r--r--src/libexpr/primops/fetchMercurial.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/primops/fetchMercurial.cc b/src/libexpr/primops/fetchMercurial.cc
index 1cd481243..c23480853 100644
--- a/src/libexpr/primops/fetchMercurial.cc
+++ b/src/libexpr/primops/fetchMercurial.cc
@@ -15,7 +15,7 @@ static void prim_fetchMercurial(EvalState & state, const Pos & pos, Value * * ar
std::string name = "source";
PathSet context;
- state.forceValue(*args[0]);
+ state.forceValue(*args[0], pos);
if (args[0]->type() == nAttrs) {