about summary refs log tree commit diff
path: root/third_party/nix/src/libexpr/json-to-value.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/libexpr/json-to-value.cc')
-rw-r--r--third_party/nix/src/libexpr/json-to-value.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/nix/src/libexpr/json-to-value.cc b/third_party/nix/src/libexpr/json-to-value.cc
index 68f016904ef7..ea7d575aa9e2 100644
--- a/third_party/nix/src/libexpr/json-to-value.cc
+++ b/third_party/nix/src/libexpr/json-to-value.cc
@@ -105,7 +105,7 @@ static void parseJSON(EvalState& state, const char*& s, Value& v) {
       s++;
       Value* v2 = state.allocValue();
       parseJSON(state, s, *v2);
-      attrs[state.symbols.create(name)] = v2;
+      attrs[state.symbols.Create(name)] = v2;
       skipWhitespace(s);
       if (*s == '}') {
         break;