core/lib/tests/modules/error-mkOption-in-submodule-config.nix

11 lines
165 B
Nix
Raw Normal View History

2024-05-01 22:14:04 +00:00
{ lib, ... }:
let
inherit (lib) mkOption;
in
{
options.sub = lib.mkOption {
2024-06-30 08:16:52 +00:00
type = lib.types.submodule { wrong2 = mkOption { }; };
default = { };
2024-05-01 22:14:04 +00:00
};
}