mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
Fix passing meta attribute to buildenv.nix
Since the meta attributes were not sorted, attribute lookup could
fail, leading to package priorities and active flags not working
correctly.
Broken since 0f24400d90
.
This commit is contained in:
parent
92a848f674
commit
25386e5edc
1 changed files with 1 additions and 0 deletions
|
@ -91,6 +91,7 @@ bool createUserEnv(EvalState & state, DrvInfos & elems,
|
||||||
if (!v) continue;
|
if (!v) continue;
|
||||||
vMeta.attrs->push_back(Attr(state.symbols.create(*j), v));
|
vMeta.attrs->push_back(Attr(state.symbols.create(*j), v));
|
||||||
}
|
}
|
||||||
|
vMeta.attrs->sort();
|
||||||
v.attrs->sort();
|
v.attrs->sort();
|
||||||
|
|
||||||
if (drvPath != "") references.insert(drvPath);
|
if (drvPath != "") references.insert(drvPath);
|
||||||
|
|
Loading…
Reference in a new issue