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:
parent
bcf132c9a7
commit
839d828b9c
@ -1,6 +1,6 @@
|
||||
{ lib, stdenv, fetchurl }:
|
||||
{ lib, stdenvNoCC, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "wireless-regdb";
|
||||
version = "2022.06.06";
|
||||
|
||||
|
@ -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";
|
||||
|
||||
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -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";
|
||||
|
||||
|
@ -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";
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -1,8 +1,8 @@
|
||||
{ stdenv
|
||||
{ stdenvNoCC
|
||||
, lib
|
||||
, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "intel2200BGFirmware";
|
||||
version = "3.1";
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchFromGitHub, lib}:
|
||||
{ stdenvNoCC, fetchFromGitHub, lib}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "libreelec-dvb-firmware";
|
||||
version = "1.4.2";
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ lib, stdenv, fetchFromGitHub }:
|
||||
{ lib, stdenvNoCC, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "raspberrypi-wireless-firmware";
|
||||
version = "2021-12-06";
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ lib, stdenv, fetchFromGitHub }:
|
||||
{ lib, stdenvNoCC, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenvNoCC.mkDerivation {
|
||||
name = "rt5677-firmware";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ lib, stdenv, fetchFromGitHub }:
|
||||
{ lib, stdenvNoCC, fetchFromGitHub }:
|
||||
with lib;
|
||||
stdenv.mkDerivation {
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "rtl8192su";
|
||||
version = "unstable-2016-10-05";
|
||||
|
||||
|
@ -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;
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ lib, stdenv, fetchFromGitHub }:
|
||||
{ lib, stdenvNoCC, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenvNoCC.mkDerivation {
|
||||
name = "rtl8761b-firmware";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
{ stdenv
|
||||
{ stdenvNoCC
|
||||
, lib
|
||||
, fetchurl
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "zd1211-firmware";
|
||||
version = "1.5";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user