linuxPackages.rtl8821ce: fix build on 6.14 (#394419)

This commit is contained in:
Gaétan Lepage
2025-03-30 17:11:56 +02:00
committed by GitHub
@@ -6,6 +6,7 @@
kernelModuleMakeFlags,
bc,
nix-update-script,
fetchpatch,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -19,6 +20,14 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-n9g98qORHdFVTU6jlMnCFvqW/xz6SDKqIBjT+IFEiHU=";
};
patches = [
(fetchpatch {
name = "fix-build-on-6.14.patch";
url = "https://github.com/tomaspinho/rtl8821ce/commit/1f1809775e686a524c8eb8ebcf5957ed8e697f74.patch";
hash = "sha256-p8lQS98i7lGMiNtmsWMKCLtwbFRJkLImUYCOLCfARTI=";
})
];
hardeningDisable = [ "pic" ];
nativeBuildInputs = [ bc ] ++ kernel.moduleBuildDependencies;