diff options
author | Tuomas Tynkkynen <tuomas@tuxera.com> | 2018-04-02 23:20:02 +0300 |
---|---|---|
committer | Tuomas Tynkkynen <tuomas@tuxera.com> | 2018-04-02 23:46:18 +0300 |
commit | b59f9497aa96da5cd5f696fd0a4b03da756ca01d (patch) | |
tree | 3a1c54941ea7385dba96c79edbea19cc35522417 /pkgs/os-specific/linux/firmware/raspberrypi | |
parent | 434722ba621ca85b0fbe195dddaa0eea5196e3c8 (diff) | |
download | nixpkgs-b59f9497aa96da5cd5f696fd0a4b03da756ca01d.tar nixpkgs-b59f9497aa96da5cd5f696fd0a4b03da756ca01d.tar.gz nixpkgs-b59f9497aa96da5cd5f696fd0a4b03da756ca01d.tar.bz2 nixpkgs-b59f9497aa96da5cd5f696fd0a4b03da756ca01d.tar.lz nixpkgs-b59f9497aa96da5cd5f696fd0a4b03da756ca01d.tar.xz nixpkgs-b59f9497aa96da5cd5f696fd0a4b03da756ca01d.tar.zst nixpkgs-b59f9497aa96da5cd5f696fd0a4b03da756ca01d.zip |
raspberrypifw: Drop all non-firmware parts
They are now built from source in raspberrypi-tools.
Diffstat (limited to 'pkgs/os-specific/linux/firmware/raspberrypi')
-rw-r--r-- | pkgs/os-specific/linux/firmware/raspberrypi/default.nix | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/pkgs/os-specific/linux/firmware/raspberrypi/default.nix b/pkgs/os-specific/linux/firmware/raspberrypi/default.nix index c71f1c0ea2e..9c83092481b 100644 --- a/pkgs/os-specific/linux/firmware/raspberrypi/default.nix +++ b/pkgs/os-specific/linux/firmware/raspberrypi/default.nix @@ -11,27 +11,16 @@ stdenv.mkDerivation rec { sha256 = "12aisha8rlr28310hakps04z9p45kd2wvks0w1vxw1kwfh1ncy9s"; }; - dontStrip = true; # Stripping breaks some of the binaries - installPhase = '' mkdir -p $out/share/raspberrypi/boot cp -R boot/* $out/share/raspberrypi/boot - cp -R hardfp/opt/vc/* $out - cp opt/vc/LICENCE $out/share/raspberrypi - - for f in $out/bin/*; do - if isELF "$f"; then - patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" "$f" - patchelf --set-rpath "$out/lib" "$f" - fi - done ''; meta = with stdenv.lib; { description = "Firmware for the Raspberry Pi board"; - homepage = https://github.com/raspberrypi; - license = licenses.unfree; + homepage = https://github.com/raspberrypi/firmware; + license = licenses.unfreeRedistributableFirmware; # See https://github.com/raspberrypi/firmware/blob/master/boot/LICENCE.broadcom platforms = [ "armv6l-linux" "armv7l-linux" "aarch64-linux" ]; - maintainers = with maintainers; [ viric tavyc ]; + maintainers = with maintainers; [ dezgeg viric tavyc ]; }; } |