Sort nixPath attributes

This commit is contained in:
Eelco Dolstra 2014-05-29 19:02:14 +02:00
parent 54a34119f3
commit becc2b0167
1 changed files with 1 additions and 0 deletions

View File

@ -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);