diff options
Diffstat (limited to 'third_party/nix/src/libexpr/eval.cc')
-rw-r--r-- | third_party/nix/src/libexpr/eval.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/nix/src/libexpr/eval.cc b/third_party/nix/src/libexpr/eval.cc index c654faa76cfa..b406854f4e20 100644 --- a/third_party/nix/src/libexpr/eval.cc +++ b/third_party/nix/src/libexpr/eval.cc @@ -815,8 +815,8 @@ void ExprAttrs::eval(EvalState& state, Env& env, Value& value) { size_t displ = 0; for (auto& attr : attrs) { Value* vAttr; - vAttr = attr.second.e->maybeThunk(state, - attr.second.inherited ? env : env2); + vAttr = + attr.second.e->maybeThunk(state, attr.second.inherited ? env : env2); env2.values[displ++] = vAttr; value.attrs->push_back(Attr(attr.first, vAttr, &attr.second.pos)); } |