ghc843: don’t apply stripping in android
This breaks some library symbols apparently. ARM symbols must be
incorrectly stripped. Also some very weird issues with patchelf.
commit69cad91b5c34b9ff474e973d39dd114cd91e6e82
authorMatthew Bauer <mjbauer95@gmail.com>
dateMon 25 Jun 2018, 09:38 (8 years ago)
parent31eac6f
pkgs/development/compilers/ghc/8.4.3.nix+6−2
@@ -75,7 +75,7 @@ let
7575 targetCC = builtins.head toolsForTarget;
7676
7777in
78−stdenv.mkDerivation rec {
78+stdenv.mkDerivation (rec {
7979 version = "8.4.3";
8080 name = "${targetPrefix}ghc-${version}";
8181
@@ -209,4 +209,8 @@ stdenv.mkDerivation rec {
209209 inherit (ghc.meta) license platforms;
210210 };
211211
212−}
212+} // stdenv.lib.optionalAttrs targetPlatform.useAndroidPrebuilt {
213+ dontStrip = true;
214+ dontPatchELF = true;
215+ noAuditTmpdir = true;
216+})