diff options
-rw-r--r-- | src/nix-env/user-env.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nix-env/user-env.cc b/src/nix-env/user-env.cc index 75f5b54ab..a95c4cba9 100644 --- a/src/nix-env/user-env.cc +++ b/src/nix-env/user-env.cc @@ -91,6 +91,7 @@ bool createUserEnv(EvalState & state, DrvInfos & elems, if (!v) continue; vMeta.attrs->push_back(Attr(state.symbols.create(*j), v)); } + vMeta.attrs->sort(); v.attrs->sort(); if (drvPath != "") references.insert(drvPath); |