linuxPackages.rtl8821ce: patch for 5.19.2 compatibility

+6 -1
+6 -1
pkgs/os-specific/linux/rtl8821ce/default.nix
··· 17 17 sha256 = "sha256-4PgISOjCSSGymz96VwE4jzcUiOEO+Ocuk2kJVIA+TQM="; 18 18 }; 19 19 20 + patches = fetchpatch { 21 + url = "https://github.com/tomaspinho/rtl8821ce/pull/291.patch"; 22 + sha256 = "sha256-GCZ/iPtzF7PP0ZgagBev6r7IVQ2VenPoLKL9GnPSt+U="; 23 + }; 24 + 20 25 hardeningDisable = [ "pic" ]; 21 26 22 27 nativeBuildInputs = [ bc ] ++ kernel.moduleBuildDependencies; ··· 41 46 homepage = "https://github.com/tomaspinho/rtl8821ce"; 42 47 license = licenses.gpl2Only; 43 48 platforms = platforms.linux; 44 - broken = stdenv.isAarch64; 45 49 maintainers = with maintainers; [ hhm ivar ]; 50 + broken = stdenv.isAarch64 || ((lib.versions.majorMinor kernel.version) == "5.4" && kernel.isHardened); 46 51 }; 47 52 }