aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/attr-path.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-02-04 00:33:13 +0100
committerEelco Dolstra <edolstra@gmail.com>2022-02-04 00:33:13 +0100
commit4c755c3b3fc427afe192d223b37c288c88cc57d5 (patch)
tree2cf2973f2a6d1b1a204efc4adafee82bff95f7d7 /src/libexpr/attr-path.cc
parent1aa5994e6d7bfb32895264c3a2f1d94cc7272a72 (diff)
parent50efc5499a7d924828bed654be207a846c040fa0 (diff)
Merge branch 'issue-3505' of https://github.com/kamadorueda/nix
Diffstat (limited to 'src/libexpr/attr-path.cc')
-rw-r--r--src/libexpr/attr-path.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/attr-path.cc b/src/libexpr/attr-path.cc
index edef4d9f8..bf0c1dabc 100644
--- a/src/libexpr/attr-path.cc
+++ b/src/libexpr/attr-path.cc
@@ -58,7 +58,7 @@ std::pair<Value *, Pos> findAlongAttrPath(EvalState & state, const string & attr
Value * vNew = state.allocValue();
state.autoCallFunction(autoArgs, *v, *vNew);
v = vNew;
- state.forceValue(*v);
+ state.forceValue(*v, noPos);
/* It should evaluate to either a set or an expression,
according to what is specified in the attrPath. */