One or more definitions did not pass the type-check of the 'either' type.
${headError.message}
If `either`, `oneOf` or similar is used in freeformType, ensure that it is preceded by an 'attrsOf' such as: `freeformType = types.attrsOf (types.either t1 t2)`.
Otherwise consider using the correct type for the option `${showOptionloc}`. This will be an error in Nixpkgs 26.06.
Otherwise consider using the correct type for the option `${showOptionloc}`. This will be an error in Nixpkgs 26.05.