mirror of
https://github.com/NixOS/nix
synced 2025-06-28 01:11:15 +02:00
forceAttrs: make pos mandatory
This commit is contained in:
parent
1472e045a7
commit
c3896e19d0
8 changed files with 13 additions and 12 deletions
|
@ -107,7 +107,7 @@ DrvInfo::Outputs DrvInfo::queryOutputs(bool onlyOutputsToInstall)
|
|||
string name = state->forceStringNoCtx(*elem, *i->pos);
|
||||
Bindings::iterator out = attrs->find(state->symbols.create(name));
|
||||
if (out == attrs->end()) continue; // FIXME: throw error?
|
||||
state->forceAttrs(*out->value);
|
||||
state->forceAttrs(*out->value, *i->pos);
|
||||
|
||||
/* And evaluate its ‘outPath’ attribute. */
|
||||
Bindings::iterator outPath = out->value->attrs->find(state->sOutPath);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue