diff options
author | Will Dietz <w@wdtz.org> | 2018-06-25 11:34:57 -0500 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2018-06-25 13:19:49 -0500 |
commit | 2052323a7884c73fc7a137691b9690d821b906a6 (patch) | |
tree | de03c11fd2698fc447f7484acf9284df5e3b85ec /pkgs/development/compilers/ghc | |
parent | 656dc516662d29221ea228857892fa78cbe4b1eb (diff) | |
download | nixlib-2052323a7884c73fc7a137691b9690d821b906a6.tar nixlib-2052323a7884c73fc7a137691b9690d821b906a6.tar.gz nixlib-2052323a7884c73fc7a137691b9690d821b906a6.tar.bz2 nixlib-2052323a7884c73fc7a137691b9690d821b906a6.tar.lz nixlib-2052323a7884c73fc7a137691b9690d821b906a6.tar.xz nixlib-2052323a7884c73fc7a137691b9690d821b906a6.tar.zst nixlib-2052323a7884c73fc7a137691b9690d821b906a6.zip |
ghc-8.4.3: minor fixes for cross-musl, same as used with 8.2.2
Patches are no longer needed, seem to be more or less upstreamed.
Diffstat (limited to 'pkgs/development/compilers/ghc')
-rw-r--r-- | pkgs/development/compilers/ghc/8.4.3.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/compilers/ghc/8.4.3.nix b/pkgs/development/compilers/ghc/8.4.3.nix index 4d2f3894f178..10035af90a89 100644 --- a/pkgs/development/compilers/ghc/8.4.3.nix +++ b/pkgs/development/compilers/ghc/8.4.3.nix @@ -49,7 +49,8 @@ let '' + stdenv.lib.optionalString enableIntegerSimple '' INTEGER_LIBRARY = integer-simple '' + stdenv.lib.optionalString (targetPlatform != hostPlatform) '' - Stage1Only = YES + Stage1Only = ${if targetPlatform.system == hostPlatform.system then "NO" else "YES"} + CrossCompilePrefix = ${targetPrefix} HADDOCK_DOCS = NO BUILD_SPHINX_HTML = NO BUILD_SPHINX_PDF = NO |