mirror of
https://github.com/NixOS/nix.git
synced 2025-12-09 10:31:02 +01:00
findAlongAttrPath(): Return position
This commit is contained in:
parent
84a3a5c3cd
commit
0b013a54dc
9 changed files with 17 additions and 14 deletions
|
|
@ -309,7 +309,7 @@ static void _main(int argc, char * * argv)
|
|||
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);
|
||||
getDerivations(*state, v, "", *autoArgs, drvs, false);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue