about summary refs log tree commit diff
path: root/third_party/nix/src/libexpr/value-to-xml.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/libexpr/value-to-xml.cc')
-rw-r--r--third_party/nix/src/libexpr/value-to-xml.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/nix/src/libexpr/value-to-xml.cc b/third_party/nix/src/libexpr/value-to-xml.cc
index 7fab6e2ffe5e..160c6eba3313 100644
--- a/third_party/nix/src/libexpr/value-to-xml.cc
+++ b/third_party/nix/src/libexpr/value-to-xml.cc
@@ -34,7 +34,7 @@ static void showAttrs(EvalState& state, bool strict, bool location,
   }
 
   for (auto& i : names) {
-    Attr& a(*attrs.find(state.symbols.create(i)));
+    Attr& a(*attrs.find(state.symbols.Create(i)));
 
     XMLAttrs xmlAttrs;
     xmlAttrs["name"] = i;
@@ -86,7 +86,7 @@ static void printValueAsXML(EvalState& state, bool strict, bool location,
         XMLAttrs xmlAttrs;
 
         Bindings::iterator a =
-            v.attrs->find(state.symbols.create("derivation"));
+            v.attrs->find(state.symbols.Create("derivation"));
 
         Path drvPath;
         a = v.attrs->find(state.sDrvPath);