mirror of
https://github.com/NixOS/nix
synced 2025-07-02 17:41:48 +02:00
Check meta values and warn about bad ones
This commit is contained in:
parent
0f24400d90
commit
30b986908e
4 changed files with 54 additions and 26 deletions
|
@ -88,7 +88,7 @@ bool createUserEnv(EvalState & state, DrvInfos & elems,
|
|||
StringSet metaNames = i->queryMetaNames();
|
||||
foreach (StringSet::iterator, j, metaNames) {
|
||||
Value * v = i->queryMeta(*j);
|
||||
state.strictForceValue(*v); // FIXME
|
||||
if (!v) continue;
|
||||
vMeta.attrs->push_back(Attr(state.symbols.create(*j), v));
|
||||
}
|
||||
v.attrs->sort();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue