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
opam: 2.2.0 → 2.3.0 (#359044)
[NixPkgs.git]
/
lib
/
tests
/
modules
/
declare-coerced-value.nix
blob
76b12ad53f00c21713ff29d811c8dd8f3c9b2fb9
1
{ lib, ... }:
2
3
{
4
options = {
5
value = lib.mkOption {
6
default = 42;
7
type = lib.types.coercedTo lib.types.int builtins.toString lib.types.str;
8
};
9
};
10
}