diff options
-rw-r--r-- | 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 333748973d..993d290eb3 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); |