mirror of
https://github.com/NixOS/nix
synced 2025-06-28 05:21:16 +02:00
forceAttrs: Show position info
This commit is contained in:
parent
96b695ccab
commit
27b44b8cf7
5 changed files with 23 additions and 14 deletions
|
@ -75,7 +75,7 @@ Bindings * DrvInfo::getMeta()
|
|||
if (!attrs) return 0;
|
||||
Bindings::iterator a = attrs->find(state->sMeta);
|
||||
if (a == attrs->end()) return 0;
|
||||
state->forceAttrs(*a->value);
|
||||
state->forceAttrs(*a->value, *a->pos);
|
||||
meta = a->value->attrs;
|
||||
return meta;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue