tvl-depot/tvix/glue
Florian Klink ec8d79f3db feat(tvix/eval): teach builtins.toXML context
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>
2024-05-23 14:49:07 +00:00
..
benches refactor(tvix/store): drop calculate_nar from PathInfoService 2024-05-11 13:33:59 +00:00
src feat(tvix/eval): teach builtins.toXML context 2024-05-23 14:49:07 +00:00
Cargo.toml refactor(tvix): remove usage of async-recursion 2024-05-06 16:05:09 +00:00
default.nix feat(tvix/glue): Implement builtins.fetchurl 2024-03-11 02:21:54 +00:00