diff options
Diffstat (limited to 'nixpkgs/lib/tests/modules/declare-either.nix')
-rw-r--r-- | nixpkgs/lib/tests/modules/declare-either.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nixpkgs/lib/tests/modules/declare-either.nix b/nixpkgs/lib/tests/modules/declare-either.nix new file mode 100644 index 000000000000..5a0fa978a138 --- /dev/null +++ b/nixpkgs/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; + }; +} |