about summary refs log tree commit diff
path: root/tvix/eval/src/tests/tvix_tests/notyetpassing/eval-fail-builtins-genericClosure-uncomparable-keys2.nix
blob: 0589a3ab596bf2c15cc1d3f9c987040567e34fbc (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 [ ];
}