mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 16:23:02 +00:00
Sort nixPath attributes
This commit is contained in:
parent
54a34119f3
commit
becc2b0167
@ -1392,6 +1392,7 @@ void EvalState::createBaseEnv()
|
||||
mkAttrs(*v2, 2);
|
||||
mkString(*allocAttr(*v2, symbols.create("path")), i.second);
|
||||
mkString(*allocAttr(*v2, symbols.create("prefix")), i.first);
|
||||
v2->attrs->sort();
|
||||
}
|
||||
addConstant("nixPath", v);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user