mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 19:46:02 +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)
10 lines
379 B
Text
10 lines
379 B
Text
error:
|
|
… while calling the 'genericClosure' builtin
|
|
at /pwd/lang/eval-fail-genericClosure-element-missing-key.nix:1:1:
|
|
1| builtins.genericClosure {
|
|
| ^
|
|
2| startSet = [ { nokey = 1; } ];
|
|
|
|
… in one of the attrsets generated by (or initially passed to) builtins.genericClosure
|
|
|
|
error: attribute 'key' missing
|