mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
linuxPackages.rtl8821cu: unstable-2024-05-03 -> unstable-2024-09-27
This commit is contained in:
parent
3aea494127
commit
fd70778e9b
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user