mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
Merge pull request #54977 from teto/kernel_fix
linux: (re)take into account extraConfig
This commit is contained in:
commit
bc84a22989
@ -73,10 +73,10 @@ let
|
|||||||
features = kernelFeatures; # Ensure we know of all extra patches, etc.
|
features = kernelFeatures; # Ensure we know of all extra patches, etc.
|
||||||
};
|
};
|
||||||
|
|
||||||
|
intermediateNixConfig = configfile.moduleStructuredConfig.intermediateNixConfig
|
||||||
# extra config in legacy string format
|
# extra config in legacy string format
|
||||||
extraConfig = extraConfig + lib.optionalString (stdenv.hostPlatform.platform ? kernelExtraConfig) stdenv.hostPlatform.platform.kernelExtraConfig;
|
+ extraConfig
|
||||||
|
+ lib.optionalString (stdenv.hostPlatform.platform ? kernelExtraConfig) stdenv.hostPlatform.platform.kernelExtraConfig;
|
||||||
intermediateNixConfig = configfile.moduleStructuredConfig.intermediateNixConfig;
|
|
||||||
|
|
||||||
structuredConfigFromPatches =
|
structuredConfigFromPatches =
|
||||||
map ({extraStructuredConfig ? {}, ...}: {settings=extraStructuredConfig;}) kernelPatches;
|
map ({extraStructuredConfig ? {}, ...}: {settings=extraStructuredConfig;}) kernelPatches;
|
||||||
|
Loading…
Reference in New Issue
Block a user