core/nodes/1_lib/source/tests/modules/types-attrTag-wrong-decl.nix
2024-05-25 10:31:17 -04:00

15 lines
197 B
Nix

{ lib, ... }:
let
inherit (lib) types mkOption;
in
{
options = {
opt = mkOption {
type = types.attrTag {
int = types.int;
};
default = { int = 1; };
};
};
}