about summary refs log tree commit diff
path: root/third_party/nix/src/libexpr/primops/fromTOML.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/libexpr/primops/fromTOML.cc')
-rw-r--r--third_party/nix/src/libexpr/primops/fromTOML.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/nix/src/libexpr/primops/fromTOML.cc b/third_party/nix/src/libexpr/primops/fromTOML.cc
index 4b652b379af7..320b6120e746 100644
--- a/third_party/nix/src/libexpr/primops/fromTOML.cc
+++ b/third_party/nix/src/libexpr/primops/fromTOML.cc
@@ -25,7 +25,7 @@ static void prim_fromTOML(EvalState& state, const Pos& pos, Value** args,
       state.mkAttrs(v, size);
 
       for (auto& i : *t2) {
-        auto& v2 = *state.allocAttr(v, state.symbols.create(i.first));
+        auto& v2 = *state.allocAttr(v, state.symbols.Create(i.first));
 
         if (auto i2 = i.second->as_table_array()) {
           size_t size2 = i2->get().size();