Merge pull request #154159 from lovesegfault/rename-firmware-linux

firmwareLinuxNonfree -> linux-firmware
This commit is contained in:
Bernardo Meurer 2022-01-10 15:47:20 +00:00 committed by GitHub
commit 4234c7fa50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 16 additions and 8 deletions

View File

@ -374,6 +374,12 @@
<literal>pkgs.theLoungePlugins.themes</literal>.
</para>
</listitem>
<listitem>
<para>
The <literal>firmwareLinuxNonfree</literal> package has been
renamed to <literal>linux-firmware</literal>.
</para>
</listitem>
</itemizedlist>
</section>
</section>

View File

@ -134,3 +134,5 @@ In addition to numerous new and upgraded packages, this release has the followin
is set to `true`.
- The option `services.thelounge.plugins` has been added to allow installing plugins for The Lounge. Plugins can be found in `pkgs.theLoungePlugins.plugins` and `pkgs.theLoungePlugins.themes`.
- The `firmwareLinuxNonfree` package has been renamed to `linux-firmware`.

View File

@ -31,7 +31,6 @@ in {
type = types.bool;
description = ''
Turn on this option if you want to enable all the firmware with a license allowing redistribution.
(i.e. free firmware and <literal>firmware-linux-nonfree</literal>)
'';
};
@ -51,7 +50,7 @@ in {
config = mkMerge [
(mkIf (cfg.enableAllFirmware || cfg.enableRedistributableFirmware) {
hardware.firmware = with pkgs; [
firmwareLinuxNonfree
linux-firmware
intel2200BGFirmware
rtl8192su-firmware
rt5677-firmware

View File

@ -1,7 +1,7 @@
{ stdenvNoCC, fetchgit, lib }:
stdenvNoCC.mkDerivation rec {
pname = "firmware-linux-nonfree";
pname = "linux-firmware";
version = "20211216";
src = fetchgit {

View File

@ -1,9 +1,9 @@
{ lib, stdenv, firmwareLinuxNonfree, libarchive }:
{ lib, stdenv, linux-firmware, libarchive }:
stdenv.mkDerivation {
name = "amd-ucode-${firmwareLinuxNonfree.version}";
name = "amd-ucode-${linux-firmware.version}";
src = firmwareLinuxNonfree;
src = linux-firmware;
sourceRoot = ".";
@ -11,7 +11,7 @@ stdenv.mkDerivation {
buildPhase = ''
mkdir -p kernel/x86/microcode
find ${firmwareLinuxNonfree}/lib/firmware/amd-ucode -name \*.bin \
find ${linux-firmware}/lib/firmware/amd-ucode -name \*.bin \
-exec sh -c 'cat {} >> kernel/x86/microcode/AuthenticAMD.bin' \;
'';

View File

@ -262,6 +262,7 @@ mapAliases ({
firefoxWrapper = firefox; # 2015-09
firestr = throw "firestr has been removed."; # added 2019-12-08
firmwareLinuxNonfree = linux-firmware; # added 2022-01-09
fish-foreign-env = throw "fish-foreign-env has been replaced with fishPlugins.foreign-env"; # added 2020-12-29, modified 2021-01-10
flameGraph = flamegraph; # added 2018-04-25
flashplayer = throw "flashplayer has been removed as Adobe Flash Player is now deprecated."; # added 2021-02-07

View File

@ -22785,7 +22785,7 @@ with pkgs;
qemu_test = lowPrio (qemu.override { hostCpuOnly = true; nixosTestRunner = true; });
firmwareLinuxNonfree = callPackage ../os-specific/linux/firmware/firmware-linux-nonfree { };
linux-firmware = callPackage ../os-specific/linux/firmware/linux-firmware { };
qmk-udev-rules = callPackage ../os-specific/linux/qmk-udev-rules { };