about summary refs log tree commit diff
path: root/tvix/eval/src/tests/tvix_tests/notyetpassing/eval-fail-builtins-genericClosure-uncomparable-keys.nix
blob: d4e93e1f28c01d6aca19b818378fbed676f907c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
# Attribute sets can't be compared, only checked for equality
builtins.genericClosure {
  startSet = [
    { key = { foo = 21; }; }
  ];
  operator = _: [
    { key = { bar = 21; }; }
  ];
}