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
25
# Additional make flags passed to kbuild
26
26
, extraMakeFlags ? []
27
27
28
28
+
, # enables the options in ./common-config.nix; if `false` then only
29
29
+
# `structuredExtraConfig` is used
30
30
+
enableCommonConfig ? true
31
31
+
28
32
, # kernel intermediate config overrides, as a set
29
33
structuredExtraConfig ? {}
30
34
···
183
187
moduleStructuredConfig = (lib.evalModules {
184
188
modules = [
185
189
module
190
190
+
] ++ lib.optionals enableCommonConfig [
186
191
{ settings = commonStructuredConfig; _file = "pkgs/os-specific/linux/kernel/common-config.nix"; }
192
192
+
] ++ [
187
193
{ settings = structuredExtraConfig; _file = "structuredExtraConfig"; }
188
194
]
189
195
++ structuredConfigFromPatches