nixpkgs/lib/tests/modules/types-attrTag-wrong-decl.nix

15 lines
197 B
Nix

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