about summary refs log tree commit diff
path: root/tvix/eval/src/tests/tvix_tests/eval-okay-builtins-remove-attrs-propagate-catchable.nix
map (e: (builtins.tryEval e).success) [
  (builtins.removeAttrs (builtins.throw "a") [ "a" ])
  (builtins.removeAttrs { a = { }; } (builtins.throw "b"))
  (builtins.removeAttrs { a = builtins.throw "b"; } [ "a" ])
  (builtins.removeAttrs { "${builtins.throw "c"}" = "b"; } [ "c" ])
]