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
vuls: init at 0.27.0
[NixPkgs.git]
/
lib
/
tests
/
modules
/
types-anything
/
equal-atoms.nix
blob
28d2b53ceee34dedc3f7a44ecfb9d9c89d06f51a
1
{ lib, ... }: {
2
3
options.value = lib.mkOption {
4
type = lib.types.anything;
5
};
6
7
config = lib.mkMerge [
8
{
9
value.int = 0;
10
value.bool = false;
11
value.string = "";
12
value.path = ./.;
13
value.null = null;
14
value.float = 0.1;
15
value.list = [1 "a" {x=null;}];
16
}
17
{
18
value.int = 0;
19
value.bool = false;
20
value.string = "";
21
value.path = ./.;
22
value.null = null;
23
value.float = 0.1;
24
value.list = [1 "a" {x=null;}];
25
}
26
];
27
28
}