core/lib/tests/modules/error-mkOption-in-submodule-config.nix
2024-06-30 09:16:52 +01:00

11 lines
165 B
Nix

{ lib, ... }:
let
inherit (lib) mkOption;
in
{
options.sub = lib.mkOption {
type = lib.types.submodule { wrong2 = mkOption { }; };
default = { };
};
}