aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-08-30 17:27:51 +0200
committerEelco Dolstra <edolstra@gmail.com>2019-08-30 17:27:51 +0200
commita49b6761a54984669bc622edfe3e693244868425 (patch)
treee7a80badbf5345c0bfa83513bc3201af45d72669
parent80c36d4562af71a90c67b3adb886a1003834890e (diff)
Fix sourceInfo
-rw-r--r--src/libexpr/flake/flake.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libexpr/flake/flake.cc b/src/libexpr/flake/flake.cc
index ba337cf97..9e25fc116 100644
--- a/src/libexpr/flake/flake.cc
+++ b/src/libexpr/flake/flake.cc
@@ -511,6 +511,7 @@ void callFlake(EvalState & state,
auto & vSourceInfo = *state.allocValue();
state.mkAttrs(vSourceInfo, 8);
emitSourceInfoAttrs(state, flake.sourceInfo, vSourceInfo);
+ vSourceInfo.attrs->sort();
vInputs.attrs->push_back(Attr(state.sSelf, &vRes));