diff options
author | Bernardo Meurer <bernardo@meurer.org> | 2022-01-10 15:47:20 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-10 15:47:20 +0000 |
commit | 4234c7fa50ad92a3e11112b6ac0b0bced7c78d00 (patch) | |
tree | a42592be7f04158df465c4e86fdb563986fab8b9 | |
parent | f603f36ca2e12e69f6d48602c2ddc2c30544b407 (diff) | |
parent | d72a2e7baf39f6683005e66ffcaa9f5e93aaa9da (diff) | |
download | nixpkgs-4234c7fa50ad92a3e11112b6ac0b0bced7c78d00.tar nixpkgs-4234c7fa50ad92a3e11112b6ac0b0bced7c78d00.tar.gz nixpkgs-4234c7fa50ad92a3e11112b6ac0b0bced7c78d00.tar.bz2 nixpkgs-4234c7fa50ad92a3e11112b6ac0b0bced7c78d00.tar.lz nixpkgs-4234c7fa50ad92a3e11112b6ac0b0bced7c78d00.tar.xz nixpkgs-4234c7fa50ad92a3e11112b6ac0b0bced7c78d00.tar.zst nixpkgs-4234c7fa50ad92a3e11112b6ac0b0bced7c78d00.zip |
Merge pull request #154159 from lovesegfault/rename-firmware-linux
firmwareLinuxNonfree -> linux-firmware
-rw-r--r-- | nixos/doc/manual/from_md/release-notes/rl-2205.section.xml | 6 | ||||
-rw-r--r-- | nixos/doc/manual/release-notes/rl-2205.section.md | 2 | ||||
-rw-r--r-- | nixos/modules/hardware/all-firmware.nix | 3 | ||||
-rw-r--r-- | pkgs/os-specific/linux/firmware/linux-firmware/default.nix (renamed from pkgs/os-specific/linux/firmware/firmware-linux-nonfree/default.nix) | 2 | ||||
-rw-r--r-- | pkgs/os-specific/linux/microcode/amd.nix | 8 | ||||
-rw-r--r-- | pkgs/top-level/aliases.nix | 1 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
7 files changed, 16 insertions, 8 deletions
diff --git a/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml b/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml index 1cfef825489..67c5a13421b 100644 --- a/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml +++ b/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml @@ -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> diff --git a/nixos/doc/manual/release-notes/rl-2205.section.md b/nixos/doc/manual/release-notes/rl-2205.section.md index 18163026321..35316a28319 100644 --- a/nixos/doc/manual/release-notes/rl-2205.section.md +++ b/nixos/doc/manual/release-notes/rl-2205.section.md @@ -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`. diff --git a/nixos/modules/hardware/all-firmware.nix b/nixos/modules/hardware/all-firmware.nix index ce87f9e8be8..24d5b7bc2b2 100644 --- a/nixos/modules/hardware/all-firmware.nix +++ b/nixos/modules/hardware/all-firmware.nix @@ -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 diff --git a/pkgs/os-specific/linux/firmware/firmware-linux-nonfree/default.nix b/pkgs/os-specific/linux/firmware/linux-firmware/default.nix index ebe9b733e3d..439cfb03a3b 100644 --- a/pkgs/os-specific/linux/firmware/firmware-linux-nonfree/default.nix +++ b/pkgs/os-specific/linux/firmware/linux-firmware/default.nix @@ -1,7 +1,7 @@ { stdenvNoCC, fetchgit, lib }: stdenvNoCC.mkDerivation rec { - pname = "firmware-linux-nonfree"; + pname = "linux-firmware"; version = "20211216"; src = fetchgit { diff --git a/pkgs/os-specific/linux/microcode/amd.nix b/pkgs/os-specific/linux/microcode/amd.nix index 72f413f9cb6..cdb2912c4af 100644 --- a/pkgs/os-specific/linux/microcode/amd.nix +++ b/pkgs/os-specific/linux/microcode/amd.nix @@ -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' \; ''; diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index a3edb07ffbb..823e6976a02 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -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 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index df8cbcfecd8..6d84c2d282d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { }; |