mirror of
https://github.com/NixOS/nix
synced 2025-06-25 14:51:16 +02:00
* builtins.toXML: propagate the string context. This is a regression
from the old ATerm-based evaluator.
This commit is contained in:
parent
07ca66cf24
commit
f16fe2af8d
3 changed files with 12 additions and 5 deletions
|
@ -69,6 +69,7 @@ static void printValueAsXML(EvalState & state, bool strict, bool location,
|
|||
|
||||
case tString:
|
||||
/* !!! show the context? */
|
||||
copyContext(v, context);
|
||||
doc.writeEmptyElement("string", singletonAttrs("value", v.string.s));
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue