linuxPackages.rtl8821cu: unstable-2024-05-03 -> unstable-2024-09-27

This commit is contained in:
nat 2024-11-12 00:01:59 +01:00
parent 3aea494127
commit fd70778e9b
No known key found for this signature in database

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation {
pname = "rtl8821cu";
version = "${kernel.version}-unstable-2024-05-03";
version = "${kernel.version}-unstable-2024-09-27";
src = fetchFromGitHub {
owner = "morrownr";
repo = "8821cu-20210916";
rev = "3eacc28b721950b51b0249508cc31e6e54988a0c";
hash = "sha256-JP7mvwhnKqmkb/B0l4vhc11TBjjUA1Ubzbj/IVEXvBM=";
rev = "2dce552dc6aa0cdab427bfa810c3df002eab0078";
hash = "sha256-8hGAfZyDCGl0RnPnYjc7iMEulZvoIGe2ghfIfoiz7ZI=";
};
hardeningDisable = [ "pic" ];
@ -18,9 +18,9 @@ stdenv.mkDerivation {
prePatch = ''
substituteInPlace ./Makefile \
--replace /lib/modules/ "${kernel.dev}/lib/modules/" \
--replace /sbin/depmod \# \
--replace '$(MODDESTDIR)' "$out/lib/modules/${kernel.modDirVersion}/kernel/net/wireless/"
--replace-fail /lib/modules/ "${kernel.dev}/lib/modules/" \
--replace-fail /sbin/depmod \# \
--replace-fail '$(MODDESTDIR)' "$out/lib/modules/${kernel.modDirVersion}/kernel/net/wireless/"
'';
preInstall = ''