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
opencomposite: add meta.platforms (#357198)
[NixPkgs.git]
/
lib
/
tests
/
modules
/
types-anything
/
nested-attrs.nix
blob
e57d33ef8717ef6175b40b91d3c32224606a3261
1
{ lib, ... }: {
2
3
options.value = lib.mkOption {
4
type = lib.types.anything;
5
};
6
7
config = lib.mkMerge [
8
{
9
value.foo = null;
10
}
11
{
12
value.l1.foo = null;
13
}
14
{
15
value.l1.l2.foo = null;
16
}
17
{
18
value.l1.l2.l3.foo = null;
19
}
20
];
21
22
}