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
commit92a047a6c4d46a222e9c323ea85882d0a7a13af8
authorPeter Simons <simons@cryp.to>
dateMon 25 Jun 2018, 20:45 (8 years ago)
parent656dc512052323
pkgs/development/compilers/ghc/8.4.3.nix+2−1
@@ -49,7 +49,8 @@ let
4949 '' + stdenv.lib.optionalString enableIntegerSimple ''
5050 INTEGER_LIBRARY = integer-simple
5151 '' + stdenv.lib.optionalString (targetPlatform != hostPlatform) ''
52− Stage1Only = YES
52+ Stage1Only = ${if targetPlatform.system == hostPlatform.system then "NO" else "YES"}
53+ CrossCompilePrefix = ${targetPrefix}
5354 HADDOCK_DOCS = NO
5455 BUILD_SPHINX_HTML = NO
5556 BUILD_SPHINX_PDF = NO