nixpkgs/lib/tests/modules/error-nonEmptyListOf-submodule.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
136 B
Nix
Raw Permalink Normal View History

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