tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
linux: allow to omit the common-config.nix
Adam Joseph
2 years ago
673605c4
3d7a169a
+6
1 changed file
expand all
collapse all
unified
split
pkgs
os-specific
linux
kernel
generic.nix
+6
pkgs/os-specific/linux/kernel/generic.nix
···
25
# Additional make flags passed to kbuild
26
, extraMakeFlags ? []
27
0
0
0
0
28
, # kernel intermediate config overrides, as a set
29
structuredExtraConfig ? {}
30
···
183
moduleStructuredConfig = (lib.evalModules {
184
modules = [
185
module
0
186
{ settings = commonStructuredConfig; _file = "pkgs/os-specific/linux/kernel/common-config.nix"; }
0
187
{ settings = structuredExtraConfig; _file = "structuredExtraConfig"; }
188
]
189
++ structuredConfigFromPatches
···
25
# Additional make flags passed to kbuild
26
, extraMakeFlags ? []
27
28
+
, # enables the options in ./common-config.nix; if `false` then only
29
+
# `structuredExtraConfig` is used
30
+
enableCommonConfig ? true
31
+
32
, # kernel intermediate config overrides, as a set
33
structuredExtraConfig ? {}
34
···
187
moduleStructuredConfig = (lib.evalModules {
188
modules = [
189
module
190
+
] ++ lib.optionals enableCommonConfig [
191
{ settings = commonStructuredConfig; _file = "pkgs/os-specific/linux/kernel/common-config.nix"; }
192
+
] ++ [
193
{ settings = structuredExtraConfig; _file = "structuredExtraConfig"; }
194
]
195
++ structuredConfigFromPatches