mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-12-04 06:53:30 +01:00
Merge pull request #2106 from JamieMagee/raspberry-pi-fix-u128
raspberry-pi: fix kernel build with Linux 7.3 headers
This commit is contained in:
1 file changed
+10
-4
@@ -45,10 +45,16 @@ 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
|
||||||
|
]
|
||||||
|
# Include 128-bit types patch if available
|
||||||
|
# Make it a required patch once https://github.com/NixOS/nixpkgs/pull/581990 is available on a stable channel
|
||||||
|
# Remove it once the Raspberry Pi vendor kernel is 7.3+
|
||||||
|
++ lib.optional (pkgs.kernelPatches ? tools_128bit_types) tools_128bit_types;
|
||||||
|
|
||||||
# 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