about summary refs log tree commit diff
path: root/lib/tests/modules/error-mkOption-in-submodule-config.nix
blob: 91ac3d65780a5156a48f96b7083fda2f152d98fb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
{ lib, ... }:
let
  inherit (lib) mkOption;
in
{
  options.sub = lib.mkOption {
    type = lib.types.submodule {
      wrong2 = mkOption {};
    };
    default = {};
  };
}