diff options
Diffstat (limited to 'lib/tests/modules/declare-either.nix')
-rw-r--r-- | lib/tests/modules/declare-either.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/tests/modules/declare-either.nix b/lib/tests/modules/declare-either.nix new file mode 100644 index 0000000000000..5a0fa978a1381 --- /dev/null +++ b/lib/tests/modules/declare-either.nix @@ -0,0 +1,5 @@ +{ lib, ... }: { + options.value = lib.mkOption { + type = lib.types.either lib.types.int lib.types.str; + }; +} |