core/lib/tests/modules/error-mkOption-in-submodule-config.nix
2024-05-01 18:26:04 -04:00

13 lines
173 B
Nix

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