about summary refs log tree commit diff
path: root/tvix/glue/src/tests/tvix_tests/eval-okay-toxml-context.nix
[
  # builtins.toXML retains context where there is.
  (builtins.getContext (builtins.toXML {
    inherit (derivation {
      name = "test";
      builder = "/bin/sh";
      system = "x86_64-linux";
    }) drvPath;
  }))

  # this should have no context.
  (builtins.hasContext
    (builtins.toXML { }))
]