From c395a48be2ad58560590897e11793db032873ed6 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Thu, 21 May 2020 04:56:22 +0100 Subject: fix(3p/nix): Compatibility with updated SymbolTable The functions in SymbolTable have been renamed to match the Google Style guide, and some debug-only functions have been removed. --- third_party/nix/src/libexpr/value-to-xml.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'third_party/nix/src/libexpr/value-to-xml.cc') diff --git a/third_party/nix/src/libexpr/value-to-xml.cc b/third_party/nix/src/libexpr/value-to-xml.cc index 7fab6e2ffe..160c6eba33 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); -- cgit 1.4.1