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:53:46 +00:00
parent d4b5df711a
commit cb442d9345
+6 -2
View File
@@ -78,7 +78,7 @@ let
targetCC = builtins.head toolsForTarget; targetCC = builtins.head toolsForTarget;
in in
stdenv.mkDerivation rec { stdenv.mkDerivation (rec {
inherit version; inherit version;
inherit (src) rev; inherit (src) rev;
name = "${targetPrefix}ghc-${version}"; name = "${targetPrefix}ghc-${version}";
@@ -207,4 +207,8 @@ stdenv.mkDerivation rec {
inherit (ghc.meta) license platforms; inherit (ghc.meta) license platforms;
}; };
} } // stdenv.lib.optionalAttrs targetPlatform.useAndroidPrebuilt {
dontStrip = true;
dontPatchELF = true;
noAuditTmpdir = true;
})