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.
This commit is contained in:
parent
97e85f94e5
commit
c395a48be2
21 changed files with 141 additions and 137 deletions
4
third_party/nix/src/libexpr/value-to-xml.cc
vendored
4
third_party/nix/src/libexpr/value-to-xml.cc
vendored
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue