1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 20:21:14 +00:00

linuxPackages.rtl8821ce: patch for 5.19.2 compatibility

This commit is contained in:
superherointj 2022-08-23 09:20:10 -03:00
parent 2c166749c9
commit 14dc1c40fd

View file

@ -17,6 +17,11 @@ stdenv.mkDerivation rec {
sha256 = "sha256-4PgISOjCSSGymz96VwE4jzcUiOEO+Ocuk2kJVIA+TQM=";
};
patches = fetchpatch {
url = "https://github.com/tomaspinho/rtl8821ce/pull/291.patch";
sha256 = "sha256-GCZ/iPtzF7PP0ZgagBev6r7IVQ2VenPoLKL9GnPSt+U=";
};
hardeningDisable = [ "pic" ];
nativeBuildInputs = [ bc ] ++ kernel.moduleBuildDependencies;
@ -41,7 +46,7 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/tomaspinho/rtl8821ce";
license = licenses.gpl2Only;
platforms = platforms.linux;
broken = stdenv.isAarch64;
maintainers = with maintainers; [ hhm ivar ];
broken = stdenv.isAarch64 || ((lib.versions.majorMinor kernel.version) == "5.4" && kernel.isHardened);
};
}