E002: Missing Field
Severity: Error
missing field `naem`, did you mean `name`?
An attribute set access (x.field or x.field or default) refers to a field that does not exist on the inferred type of the set. When a similarly-named field exists, tix suggests it.
Common causes
- Typo in the field name.
- Accessing a field that exists in some code paths but not others (e.g. the set comes from a branch that doesn’t always include the field).
- The attribute set was declared as closed (no
...) and the field was omitted.
How to fix
- Check the suggested correction if one is shown.
- If the attribute set should accept arbitrary fields, mark it as open with
...:{ name, version, ... }: name - If the field is conditionally present, use
x ? fieldto guard the access or usex.field or defaultValue.