ghcHEAD: Copy android hack that other GHCs have

Not sure why this one doesn't
This commit is contained in:
John Ericson 2018-10-01 20:46:37 +00:00
parent d4b5df711a
commit cb442d9345

View File

@ -78,7 +78,7 @@ let
targetCC = builtins.head toolsForTarget;
in
stdenv.mkDerivation rec {
stdenv.mkDerivation (rec {
inherit version;
inherit (src) rev;
name = "${targetPrefix}ghc-${version}";
@ -207,4 +207,8 @@ stdenv.mkDerivation rec {
inherit (ghc.meta) license platforms;
};
}
} // stdenv.lib.optionalAttrs targetPlatform.useAndroidPrebuilt {
dontStrip = true;
dontPatchELF = true;
noAuditTmpdir = true;
})