about summary refs log tree commit diff
path: root/tvix/eval/src/tests/tvix_tests/notyetpassing/eval-fail-builtins-genericClosure-uncomparable-keys2.nix
blob: ca2825524546f0d6d5b0866daeab64fbcfd2f02c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
let
  id = x: x;
in

builtins.genericClosure {
  startSet = [ { key = id; first = true; } ];
  operator =
    { first, ... }:
    if first then [
      { key = id; first = false; }
    ] else [];
}