treewide: firmware: stdenv -> stdenvNoCC

None of these packages use a compiler, except for alsa-firmware, which
has the appropriate compiler in depsBuildBuild already.

Tested by building a NixOS system with hardware.enableAllFirmware = true.
This commit is contained in:
Alyssa Ross 2022-08-12 15:51:22 +00:00
parent bcf132c9a7
commit 839d828b9c
No known key found for this signature in database
GPG Key ID: F9DBED4859B271C0
16 changed files with 32 additions and 38 deletions

View File

@ -1,6 +1,6 @@
{ lib, stdenv, fetchurl }:
{ lib, stdenvNoCC, fetchurl }:
stdenv.mkDerivation rec {
stdenvNoCC.mkDerivation rec {
pname = "wireless-regdb";
version = "2022.06.06";

View File

@ -1,6 +1,6 @@
{ lib, buildPackages, stdenv, autoreconfHook, fetchurl }:
{ lib, buildPackages, stdenvNoCC, autoreconfHook, fetchurl }:
stdenv.mkDerivation rec {
stdenvNoCC.mkDerivation rec {
pname = "alsa-firmware";
version = "1.2.4";

View File

@ -1,8 +1,8 @@
{ lib, stdenv, fetchurl, b43FirmwareCutter }:
{ lib, stdenvNoCC, fetchurl, b43FirmwareCutter }:
let version = "5.100.138"; in
stdenv.mkDerivation {
stdenvNoCC.mkDerivation {
pname = "b43-firmware";
inherit version;
@ -24,4 +24,3 @@ stdenv.mkDerivation {
license = lib.licenses.unfree;
};
}

View File

@ -1,6 +1,6 @@
{ lib, stdenv, fetchurl, b43FirmwareCutter }:
{ lib, stdenvNoCC, fetchurl, b43FirmwareCutter }:
stdenv.mkDerivation rec {
stdenvNoCC.mkDerivation rec {
pname = "b43-firmware";
version = "6.30.163.46";

View File

@ -1,9 +1,6 @@
{ lib, stdenv, fetchurl, cabextract, bt-fw-converter }:
{ lib, stdenvNoCC, fetchurl, cabextract, bt-fw-converter }:
# Kernels between 4.2 and 4.7 will not work with
# this packages as they expect the firmware to be named "BCM.hcd"
# see: https://github.com/NixOS/nixpkgs/pull/25478#issuecomment-299034865
stdenv.mkDerivation rec {
stdenvNoCC.mkDerivation rec {
pname = "broadcom-bt-firmware";
version = "12.0.1.1012";

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, unrar-wrapper, pkgs }:
{ lib, stdenvNoCC, fetchurl, unrar-wrapper, pkgs }:
let
@ -24,7 +24,7 @@ let
in
stdenv.mkDerivation {
stdenvNoCC.mkDerivation {
pname = "facetimehd-calibration";
inherit version;

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, cpio, xz, pkgs }:
{ lib, stdenvNoCC, fetchurl, cpio, xz, pkgs }:
let
@ -33,7 +33,7 @@ let
in
stdenv.mkDerivation {
stdenvNoCC.mkDerivation {
pname = "facetimehd-firmware";
inherit version;

View File

@ -1,8 +1,8 @@
{ stdenv
{ stdenvNoCC
, lib
, fetchurl }:
stdenv.mkDerivation rec {
stdenvNoCC.mkDerivation rec {
pname = "intel2200BGFirmware";
version = "3.1";

View File

@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, lib}:
{ stdenvNoCC, fetchFromGitHub, lib}:
stdenv.mkDerivation rec {
stdenvNoCC.mkDerivation rec {
pname = "libreelec-dvb-firmware";
version = "1.4.2";

View File

@ -1,6 +1,6 @@
{ lib, stdenv, fetchFromGitHub }:
{ lib, stdenvNoCC, fetchFromGitHub }:
stdenv.mkDerivation {
stdenvNoCC.mkDerivation {
pname = "raspberrypi-wireless-firmware";
version = "2021-12-06";

View File

@ -1,6 +1,6 @@
{ lib, stdenv, fetchFromGitHub }:
{ lib, stdenvNoCC, fetchFromGitHub }:
stdenv.mkDerivation {
stdenvNoCC.mkDerivation {
name = "rt5677-firmware";
src = fetchFromGitHub {

View File

@ -1,6 +1,6 @@
{ lib, stdenv, fetchFromGitHub }:
{ lib, stdenvNoCC, fetchFromGitHub }:
with lib;
stdenv.mkDerivation {
stdenvNoCC.mkDerivation {
pname = "rtl8192su";
version = "unstable-2016-10-05";

View File

@ -1,6 +1,6 @@
{ lib, stdenv, linuxPackages }:
{ lib, stdenvNoCC, linuxPackages }:
with lib;
stdenv.mkDerivation {
stdenvNoCC.mkDerivation {
pname = "rtl8723bs-firmware";
version = linuxPackages.rtl8723bs.version;
inherit (linuxPackages.rtl8723bs) src;

View File

@ -1,6 +1,6 @@
{ lib, stdenv, fetchFromGitHub }:
{ lib, stdenvNoCC, fetchFromGitHub }:
stdenv.mkDerivation {
stdenvNoCC.mkDerivation {
name = "rtl8761b-firmware";
src = fetchFromGitHub {

View File

@ -1,6 +1,6 @@
{ stdenv, lib, fetchurl, cabextract }:
{ stdenvNoCC, lib, fetchurl, cabextract }:
stdenv.mkDerivation rec {
stdenvNoCC.mkDerivation rec {
pname = "xow_dongle-firmware";
version = "2017-07";
@ -32,5 +32,3 @@ stdenv.mkDerivation rec {
platforms = platforms.linux;
};
}

View File

@ -1,9 +1,9 @@
{ stdenv
{ stdenvNoCC
, lib
, fetchurl
}:
stdenv.mkDerivation rec {
stdenvNoCC.mkDerivation rec {
pname = "zd1211-firmware";
version = "1.5";