about summary refs log tree commit diff
path: root/lib/tests/modules/types-attrTag-wrong-decl.nix
blob: d03370bc10da411346bd1b7d8d552ff6953b5d2c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ lib, ... }:
let
  inherit (lib) types mkOption;
in
{
  options = {
    opt = mkOption {
      type = types.attrTag {
        int = types.int;
      };
      default = { int = 1; };
    };
  };
}