Skip to content

Commit

Permalink
broadcom_sta: add patch to compile on kernel 6.13
Browse files Browse the repository at this point in the history
(cherry picked from commit 2e337fa)
  • Loading branch information
j0hax authored and Bertrand PRESLES committed Feb 8, 2025
1 parent 14aa3b0 commit 1fc5db0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pkgs/os-specific/linux/broadcom-sta/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,13 @@ stdenv.mkDerivation {

nativeBuildInputs = kernel.moduleBuildDependencies;

patches = map (patch: "${rpmFusionPatches}/${patch}") patchset;
patches = map (patch: "${rpmFusionPatches}/${patch}") patchset ++ [
# Fix for Kernel 6.13
(fetchpatch2 {
url = "https://gist.githubusercontent.com/joanbm/72189c81ff67b39d36a660cf00483ccb/raw/17cae74c8d3ebb90e5bfcb84dc176c32f2519078/broadcom-wl-fix-linux-6.13.patch";
hash = "sha256-b4XE3Dys0d7finPmNhTtvQqxXBSX1CXEj2Krq7qGHAw=";
})
];

makeFlags = [ "KBASE=${kernel.dev}/lib/modules/${kernel.modDirVersion}" ];

Expand Down

0 comments on commit 1fc5db0

Please sign in to comment.