linuxPackages.rtl8821cu: unstable-2024-05-03 -> unstable-2024-09-27 (#355308)

This commit is contained in:
Nick Cao 2024-11-12 11:00:43 -05:00 committed by GitHub
commit 9fdf3ef937
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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 = ''