raspberrypifw: use stdenvNoCC

This only copies unfree redistributables, don't need a compiler for
that.
This commit is contained in:
Drew Risinger 2020-12-26 10:51:10 -05:00 committed by Florian Klink
parent 860cb184ec
commit 924d461587

View File

@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub }: { stdenvNoCC, fetchFromGitHub }:
stdenv.mkDerivation rec { stdenvNoCC.mkDerivation rec {
# NOTE: this should be updated with linux_rpi # NOTE: this should be updated with linux_rpi
pname = "raspberrypi-firmware"; pname = "raspberrypi-firmware";
version = "1.20201201"; version = "1.20201201";
@ -17,9 +17,11 @@ stdenv.mkDerivation rec {
cp -R boot/* $out/share/raspberrypi/boot cp -R boot/* $out/share/raspberrypi/boot
''; '';
dontConfigure = true;
dontBuild = true;
dontFixup = true; dontFixup = true;
meta = with stdenv.lib; { meta = with stdenvNoCC.lib; {
description = "Firmware for the Raspberry Pi board"; description = "Firmware for the Raspberry Pi board";
homepage = "https://github.com/raspberrypi/firmware"; homepage = "https://github.com/raspberrypi/firmware";
license = licenses.unfreeRedistributableFirmware; # See https://github.com/raspberrypi/firmware/blob/master/boot/LICENCE.broadcom license = licenses.unfreeRedistributableFirmware; # See https://github.com/raspberrypi/firmware/blob/master/boot/LICENCE.broadcom