about summary refs log tree commit diff
path: root/third_party/nix/src/libexpr/value-to-json.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/libexpr/value-to-json.cc')
-rw-r--r--third_party/nix/src/libexpr/value-to-json.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/nix/src/libexpr/value-to-json.cc b/third_party/nix/src/libexpr/value-to-json.cc
index eaf0fca3d362..52ab44083b91 100644
--- a/third_party/nix/src/libexpr/value-to-json.cc
+++ b/third_party/nix/src/libexpr/value-to-json.cc
@@ -54,7 +54,7 @@ void printValueAsJSON(EvalState& state, bool strict, Value& v,
           names.insert(j.name);
         }
         for (auto& j : names) {
-          Attr& a(*v.attrs->find(state.symbols.create(j)));
+          Attr& a(*v.attrs->find(state.symbols.Create(j)));
           auto placeholder(obj.placeholder(j));
           printValueAsJSON(state, strict, *a.value, placeholder, context);
         }