about summary refs log tree commit diff
path: root/tvix/glue/src/tests/tvix_tests/eval-okay-toxml-context.exp
AgeCommit message (Collapse)AuthorFilesLines
2024-05-23 r/8163 feat(tvix/eval): teach builtins.toXML contextFlorian Klink1-0/+1
XmlEmitter gains a NixContext field, and `write_typed_value` extends it with all context elements present in the passed value. Once all serialization is done, a into_context() function returns the collected context, so we can construct a NixString with context. Tests for this live in tvix-glue, as we use builtins.derivation, which is not present in the tvix-eval crate. Fixes b/398. Change-Id: I85feaaa17b753885f8a017a54e419ec4e602af21 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11704 Tested-by: BuildkiteCI Reviewed-by: flokli <flokli@flokli.de> Autosubmit: flokli <flokli@flokli.de> Reviewed-by: Alyssa Ross <hi@alyssa.is>