nixpkgs/lib/tests/modules/freeform-attrsof-either.nix
Wolfgang Walther 91a8fee3aa
treewide: remove redundant parentheses
Auto-fixed by nixf-diagnose.
2025-10-05 10:52:03 +02:00

15 lines
266 B
Nix

{ lib, ... }:
let
inherit (lib) types mkOption;
in
{
options.number = mkOption {
type = types.submodule {
freeformType = types.attrsOf (types.either types.int types.int);
};
default = {
int = 42;
}; # should not emit a warning
};
}