Merge pull request #42581 from dtzWill/fix/ghc-84-musl

ghc-8.4.3: minor fixes for cross-musl, same as used with 8.2.2
This commit is contained in:
Peter Simons 2018-06-25 20:45:24 +02:00 committed by GitHub
commit 92a047a6c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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