3
0
Fork 0
forked from mirrors/nixpkgs

release-haskell: stop building musl integer-simple GHCs

integer-simple GHCs appear to be broken when linking against musl and
non-static-linking.
This commit is contained in:
(cdep)illabout 2021-07-18 15:17:02 +09:00
parent e8bdec3e32
commit b0a42925f1
No known key found for this signature in database
GPG key ID: 462E0C03D11422F4

View file

@ -94,13 +94,6 @@ let
nixosTests.agda = (packagePlatforms pkgs.nixosTests).agda;
agdaPackages = packagePlatforms pkgs.agdaPackages;
pkgsMusl.haskell.compiler = packagePlatforms pkgs.pkgsMusl.haskell.compiler // {
# remove musl ghc865Binary since it is known to be broken and
# causes an evaluation error on darwin.
# TODO: remove ghc865Binary altogether and use ghc8102Binary
ghc865Binary = {};
};
# top-level packages that depend on haskellPackages
inherit (pkgsPlatforms)
agda
@ -208,6 +201,18 @@ let
elmPackages.elm = pkgsPlatforms.elmPackages.elm;
# GHCs linked to musl.
pkgsMusl.haskell.compiler = packagePlatforms pkgs.pkgsMusl.haskell.compiler // {
# remove musl ghc865Binary since it is known to be broken and
# causes an evaluation error on darwin.
# TODO: remove ghc865Binary altogether and use ghc8102Binary
ghc865Binary = {};
# remove integer-simple because it appears to be broken with
# musl and non-static-linking.
integer-simple = {};
};
# Test some statically linked packages to catch regressions
# and get some cache going for static compilation with GHC.
# Use integer-simple to avoid GMP linking problems (LGPL)