lib/modules: Test optionless module errors from #131205

This commit is contained in:
Robert Hensing 2023-12-07 16:53:01 +01:00
parent 54e6759732
commit afb1a2e376
4 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,12 @@
{ lib, ... }:
let
inherit (lib) mkOption;
in
{
options.sub = lib.mkOption {
type = lib.types.submodule {
wrong2 = mkOption {};
};
default = {};
};
}