mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 11:36:03 +01:00
Covers error conditions for: - Invalid argument types (not an attrset) - Missing required attributes (startSet, operator) - Type mismatches (startSet/operator not correct type) - Element validation (elements not attrsets, missing key attribute) - Key comparison errors (incompatible types, uncomparable types) - Operator return value validation (not a list)
4 lines
90 B
Nix
4 lines
90 B
Nix
builtins.genericClosure {
|
|
startSet = [ { key = 1; } ];
|
|
operator = "not a function";
|
|
}
|