From 938b99309138739cd438c1938b09bce9f583e56b Mon Sep 17 00:00:00 2001 From: Octavian Cerna Date: Tue, 30 Aug 2016 17:34:16 +0300 Subject: [PATCH] raspberrypifw: Don't strip ELF files Stripping breaks raspivid and other executables. --- pkgs/os-specific/linux/firmware/raspberrypi/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/os-specific/linux/firmware/raspberrypi/default.nix b/pkgs/os-specific/linux/firmware/raspberrypi/default.nix index 4787eb57afd3..2ee232e877df 100644 --- a/pkgs/os-specific/linux/firmware/raspberrypi/default.nix +++ b/pkgs/os-specific/linux/firmware/raspberrypi/default.nix @@ -11,6 +11,8 @@ stdenv.mkDerivation rec { sha256 = "06g691px0abndp5zvz2ba1g675rcqb64n055h5ahgnlck5cdpawg"; }; + dontStrip = true; # Stripping breaks some of the binaries + installPhase = '' mkdir -p $out/share/raspberrypi/boot cp -R boot/* $out/share/raspberrypi/boot