mirror of
https://github.com/NixOS/nix
synced 2025-06-28 05:21:16 +02:00
forceList: Show position info
This commit is contained in:
parent
b62d36963c
commit
96b695ccab
5 changed files with 35 additions and 24 deletions
|
@ -36,7 +36,7 @@ DrvInfo::Outputs DrvInfo::queryOutputs()
|
|||
/* Get the ‘outputs’ list. */
|
||||
Bindings::iterator i;
|
||||
if (attrs && (i = attrs->find(state->sOutputs)) != attrs->end()) {
|
||||
state->forceList(*i->value);
|
||||
state->forceList(*i->value, *i->pos);
|
||||
|
||||
/* For each output... */
|
||||
for (unsigned int j = 0; j < i->value->list.length; ++j) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue