mirror of
https://github.com/NixOS/nix
synced 2025-06-29 23:13:14 +02:00
findAlongAttrPath(): Return position
(cherry picked from commit 0b013a54dc
)
This commit is contained in:
parent
1eb952d27a
commit
c1ca4f0acc
8 changed files with 14 additions and 11 deletions
|
@ -39,7 +39,7 @@ void processExpr(EvalState & state, const Strings & attrPaths,
|
|||
state.eval(e, vRoot);
|
||||
|
||||
for (auto & i : attrPaths) {
|
||||
Value & v(*findAlongAttrPath(state, i, autoArgs, vRoot));
|
||||
Value & v(*findAlongAttrPath(state, i, autoArgs, vRoot).first);
|
||||
state.forceValue(v);
|
||||
|
||||
PathSet context;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue