forked from mirrors/nixpkgs
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.
This commit is contained in:
parent
31eac6fd00
commit
69cad91b5c
|
@ -75,7 +75,7 @@ let
|
|||
targetCC = builtins.head toolsForTarget;
|
||||
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (rec {
|
||||
version = "8.4.3";
|
||||
name = "${targetPrefix}ghc-${version}";
|
||||
|
||||
|
@ -209,4 +209,8 @@ stdenv.mkDerivation rec {
|
|||
inherit (ghc.meta) license platforms;
|
||||
};
|
||||
|
||||
}
|
||||
} // stdenv.lib.optionalAttrs targetPlatform.useAndroidPrebuilt {
|
||||
dontStrip = true;
|
||||
dontPatchELF = true;
|
||||
noAuditTmpdir = true;
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue