mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-12-05 15:33:29 +01:00
Merge pull request #2112 from kleinbem/rpi-keep-kernelpatches
raspberry-pi/common/kernel: keep kernelPatches passed in via override
This commit is contained in:
1 file changed
+9
-4
@@ -45,10 +45,15 @@ in
|
|||||||
|
|
||||||
isLTS = true;
|
isLTS = true;
|
||||||
|
|
||||||
kernelPatches = with pkgs.kernelPatches; [
|
kernelPatches =
|
||||||
bridge_stp_helper
|
with pkgs.kernelPatches;
|
||||||
request_key_helper
|
[
|
||||||
];
|
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.
|
# 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
|
# See: https://github.com/raspberrypi/linux/tree/rpi-6.18.y/arch/arm64/configs
|
||||||
|
|||||||
Reference in new issue
Block a user