Merge pull request #2112 from kleinbem/rpi-keep-kernelpatches

raspberry-pi/common/kernel: keep kernelPatches passed in via override
This commit is contained in:
Doron Behar authored and GitHub committed 2026-12-01 15:36:54 +00:00
commit 274a526859
1 file changed
+9 -4
+9 -4
View File
@@ -45,10 +45,15 @@ in
isLTS = true;
kernelPatches = with pkgs.kernelPatches; [
bridge_stp_helper
request_key_helper
];
kernelPatches =
with pkgs.kernelPatches;
[
bridge_stp_helper
request_key_helper
]
# From kernel.override, e.g. NixOS' boot.kernelPatches. Read from args, not a
# named argument: callPackage would fill that with the pkgs.kernelPatches set.
++ (args.kernelPatches or [ ]);
# Override nixpkgs common-config.nix defaults that conflict with the RPi vendor defconfigs.
# See: https://github.com/raspberrypi/linux/tree/rpi-6.18.y/arch/arm64/configs