From becc2b01678c5742b3fe6c379430606a5ef8e34d Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 29 May 2014 19:02:14 +0200 Subject: [PATCH] Sort nixPath attributes --- src/libexpr/primops.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc index 333748973..993d290eb 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);