summary refs log tree commit diff
path: root/pkgs/os-specific/linux/firmware
diff options
context:
space:
mode:
authorDrew Risinger <drewrisinger@users.noreply.github.com>2020-12-26 10:51:10 -0500
committerFlorian Klink <flokli@flokli.de>2020-12-27 17:01:02 +0100
commit924d4615876f098a0f3c94b45c24a3aeb856748f (patch)
treef3bc628e19fd66f17835375ce5483fa2e51c1260 /pkgs/os-specific/linux/firmware
parent860cb184ec73a1d66c7aef64fb83356a1f0b9df3 (diff)
downloadnixpkgs-924d4615876f098a0f3c94b45c24a3aeb856748f.tar
nixpkgs-924d4615876f098a0f3c94b45c24a3aeb856748f.tar.gz
nixpkgs-924d4615876f098a0f3c94b45c24a3aeb856748f.tar.bz2
nixpkgs-924d4615876f098a0f3c94b45c24a3aeb856748f.tar.lz
nixpkgs-924d4615876f098a0f3c94b45c24a3aeb856748f.tar.xz
nixpkgs-924d4615876f098a0f3c94b45c24a3aeb856748f.tar.zst
nixpkgs-924d4615876f098a0f3c94b45c24a3aeb856748f.zip
raspberrypifw: use stdenvNoCC
This only copies unfree redistributables, don't need a compiler for
that.
Diffstat (limited to 'pkgs/os-specific/linux/firmware')
-rw-r--r--pkgs/os-specific/linux/firmware/raspberrypi/default.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/os-specific/linux/firmware/raspberrypi/default.nix b/pkgs/os-specific/linux/firmware/raspberrypi/default.nix
index c33e779c71b..b5fa3909c3b 100644
--- a/pkgs/os-specific/linux/firmware/raspberrypi/default.nix
+++ b/pkgs/os-specific/linux/firmware/raspberrypi/default.nix
@@ -1,6 +1,6 @@
-{ stdenv, fetchFromGitHub }:
+{ stdenvNoCC, fetchFromGitHub }:
 
-stdenv.mkDerivation rec {
+stdenvNoCC.mkDerivation rec {
   # NOTE: this should be updated with linux_rpi
   pname = "raspberrypi-firmware";
   version = "1.20201201";
@@ -17,9 +17,11 @@ stdenv.mkDerivation rec {
     cp -R boot/* $out/share/raspberrypi/boot
   '';
 
+  dontConfigure = true;
+  dontBuild = true;
   dontFixup = true;
 
-  meta = with stdenv.lib; {
+  meta = with stdenvNoCC.lib; {
     description = "Firmware for the Raspberry Pi board";
     homepage = "https://github.com/raspberrypi/firmware";
     license = licenses.unfreeRedistributableFirmware; # See https://github.com/raspberrypi/firmware/blob/master/boot/LICENCE.broadcom