diff options
author | John Ericson <Ericson2314@Yahoo.com> | 2018-10-01 20:46:37 +0000 |
---|---|---|
committer | John Ericson <Ericson2314@Yahoo.com> | 2018-10-01 20:53:46 +0000 |
commit | cb442d93459a16812fd2ae5d3598223ca799a198 (patch) | |
tree | 5943192ba14bb502fe40f60c21f3263ed27eafa9 /pkgs | |
parent | d4b5df711a08f773755b575849b26b562045a9cb (diff) | |
download | nixlib-cb442d93459a16812fd2ae5d3598223ca799a198.tar nixlib-cb442d93459a16812fd2ae5d3598223ca799a198.tar.gz nixlib-cb442d93459a16812fd2ae5d3598223ca799a198.tar.bz2 nixlib-cb442d93459a16812fd2ae5d3598223ca799a198.tar.lz nixlib-cb442d93459a16812fd2ae5d3598223ca799a198.tar.xz nixlib-cb442d93459a16812fd2ae5d3598223ca799a198.tar.zst nixlib-cb442d93459a16812fd2ae5d3598223ca799a198.zip |
ghcHEAD: Copy android hack that other GHCs have
Not sure why this one doesn't
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/compilers/ghc/head.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/development/compilers/ghc/head.nix b/pkgs/development/compilers/ghc/head.nix index dcb1aabaf09a..1339edf0afd0 100644 --- a/pkgs/development/compilers/ghc/head.nix +++ b/pkgs/development/compilers/ghc/head.nix @@ -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; +}) |