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
dxvk_1: fix build compatibility with GCC 14 (#360918)
[NixPkgs.git]
/
lib
/
tests
/
modules
/
extendModules-168767-imports.nix
blob
b4c14cf776996af595bd4fb393df15cf9ca5d028
1
{
2
lib,
3
extendModules,
4
...
5
}:
6
7
let
8
inherit (lib)
9
mkOption
10
mkOverride
11
types
12
;
13
in
14
{
15
imports = [
16
17
{
18
options.sub = mkOption {
19
default = { };
20
type = types.submodule (
21
{
22
config,
23
extendModules,
24
...
25
}:
26
{
27
options.value = mkOption {
28
type = types.int;
29
};
30
31
options.specialisation = mkOption {
32
default = { };
33
inherit
34
(extendModules {
35
modules = [
36
{
37
specialisation = mkOverride 0 { };
38
}
39
];
40
})
41
type
42
;
43
};
44
}
45
);
46
};
47
}
48
49
{ config.sub.value = 1; }
50
51
];
52
}