repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge pull request #298967 from vbgl/ocaml-5.2.0
[NixPkgs.git]
/
lib
/
tests
/
modules
/
declare-oneOf.nix
blob
df092a14f81e2744e2b76378735be4cd0ec93ed4
1
{ lib, ... }: {
2
options.value = lib.mkOption {
3
type = lib.types.oneOf [
4
lib.types.int
5
(lib.types.listOf lib.types.int)
6
lib.types.str
7
];
8
};
9
}