nixpkgs-suyu/lib/tests/modules/error-nonEmptyListOf-submodule.nix
2024-01-30 21:32:34 +03:00

7 lines
136 B
Nix

{ lib, ... }:
{
options.bad = lib.mkOption {
type = lib.types.nonEmptyListOf (lib.types.submodule { });
default = [ ];
};
}