3
0
Fork 0
forked from mirrors/nixpkgs

rtw89-firmware: drop

This commit is contained in:
Bernardo Meurer 2023-02-19 23:26:53 +00:00
parent fd90e459bb
commit fc9e3696e0
No known key found for this signature in database
4 changed files with 1 additions and 39 deletions

View file

@ -65,8 +65,6 @@ in {
] ++ optional pkgs.stdenv.hostPlatform.isAarch raspberrypiWirelessFirmware
++ optionals (versionOlder config.boot.kernelPackages.kernel.version "4.13") [
rtl8723bs-firmware
] ++ optionals (versionOlder config.boot.kernelPackages.kernel.version "5.16") [
rtw89-firmware
];
hardware.wirelessRegulatoryDatabase = true;
})

View file

@ -1,35 +0,0 @@
{ stdenvNoCC, lib, fetchFromGitHub }:
stdenvNoCC.mkDerivation {
pname = "rtw89-firmware";
# TODO: probably remove after updating linux firmware
# https://github.com/lwfinger/rtw89/commit/a2c113501a5a988683f236df1aa79ce40f29e1be
version = "unstable-2021-10-21";
src = fetchFromGitHub {
owner = "lwfinger";
repo = "rtw89";
rev = "0684157cba90e36bff5bc61a59e7e87c359b5e5c";
sha256 = "0cvawyi1ksw9xkr8pzwipsl7b8hnmrb17w5cblyicwih8fqaw632";
};
dontBuild = true;
installPhase = ''
runHook preInstall
mkdir -p $out/lib/firmware/rtw89
cp *.bin $out/lib/firmware/rtw89
runHook postInstall
'';
meta = with lib; {
description = "Driver for Realtek 8852AE, an 802.11ax device";
homepage = "https://github.com/lwfinger/rtw89";
license = licenses.unfreeRedistributableFirmware;
maintainers = with maintainers; [ tvorog ];
platforms = platforms.linux;
};
}

View file

@ -1372,6 +1372,7 @@ mapAliases ({
# The alias for linuxPackages*.rtlwifi_new is defined in ./all-packages.nix,
# due to it being inside the linuxPackagesFor function.
rtlwifi_new-firmware = rtw88-firmware; # Added 2021-03-14
rtw89-firmware = throw "rtw89-firmware has been removed because linux-firmware now contains it."; # Added 2023-02-19
### S ###

View file

@ -26599,8 +26599,6 @@ with pkgs;
rtw88-firmware = callPackage ../os-specific/linux/firmware/rtw88-firmware { };
rtw89-firmware = callPackage ../os-specific/linux/firmware/rtw89-firmware { };
rvvm = callPackage ../applications/virtualization/rvvm { };
s3ql = callPackage ../tools/backup/s3ql { };