mirror of
https://github.com/NixOS/nix
synced 2025-06-25 14:51:16 +02:00
* Keep track of the source positions of attributes.
This commit is contained in:
parent
84ce7ac76f
commit
e2d5e40f4f
8 changed files with 117 additions and 86 deletions
|
@ -48,7 +48,7 @@ void findAlongAttrPath(EvalState & state, const string & attrPath,
|
|||
Bindings::iterator a = v.attrs->find(state.symbols.create(attr));
|
||||
if (a == v.attrs->end())
|
||||
throw Error(format("attribute `%1%' in selection path `%2%' not found") % attr % curPath);
|
||||
v = a->second;
|
||||
v = a->second.value;
|
||||
}
|
||||
|
||||
else if (apType == apIndex) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue