git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commit2052323a7884c73fc7a137691b9690d821b906a6 authorWill Dietz <w@wdtz.org> dateMon 25 Jun 2018, 11:34 (8 years ago) parent656dc51
1 file changed+2−1
pkgs/development/compilers/ghc/8.4.3.nix+2−1
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