civodul pushed a commit to branch nix
in repository guix.
commit becc2b01678c5742b3fe6c379430606a5ef8e34d
Author: Eelco Dolstra <[email protected]>
Date: Thu May 29 19:02:14 2014 +0200
Sort nixPath attributes
---
src/libexpr/primops.cc | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc
index 3337489..993d290 100644
--- a/src/libexpr/primops.cc
+++ b/src/libexpr/primops.cc
@@ -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);