lol

linuxPackages_latest.broadcom_sta: add patch to compile on Kernel 6.12 (#359484)

authored by

Robert Schütz and committed by
GitHub
1e536d5e ed6c067f

+8 -1
+8 -1
pkgs/os-specific/linux/broadcom-sta/default.nix
··· 3 3 stdenv, 4 4 fetchurl, 5 5 fetchFromGitHub, 6 + fetchpatch2, 6 7 kernel, 7 8 }: 8 9 ··· 66 67 67 68 nativeBuildInputs = kernel.moduleBuildDependencies; 68 69 69 - patches = map (patch: "${rpmFusionPatches}/${patch}") patchset; 70 + patches = map (patch: "${rpmFusionPatches}/${patch}") patchset ++ [ 71 + # Fix for Kernel 6.12 and later (5f60d5f6bbc1) 72 + (fetchpatch2 { 73 + url = "https://gist.githubusercontent.com/joanbm/20db669eed4d8367a457780747be8cb9/raw/5536ba1354b6b97013530e7345d3bf29e92225b1/broadcom-wl-fix-linux-6.12.patch"; 74 + hash = "sha256-Y5VgWp0m5tNp8lxDhIg7IodbqyUsJVHHiVIFgP9ioHE="; 75 + }) 76 + ]; 70 77 71 78 makeFlags = [ "KBASE=${kernel.dev}/lib/modules/${kernel.modDirVersion}" ]; 72 79