haskellPackages.ghc-bignum: unbreak
* Enable exactly one backend (Native seems like the safest choice, but GMP also seems sane, interested to hear opinions on this!) * Apply patch which fixes a type mismatch issue between Natural.hs and Natural.hs-boot.
This commit is contained in:
parent
fd8fed8473
commit
0767374c40
@ -1777,4 +1777,23 @@ self: super: {
|
||||
# May be possible to remove at the next release (1.11.0)
|
||||
taskell = doJailbreak super.taskell;
|
||||
|
||||
# ghc-bignum is not buildable if none of the three backends
|
||||
# is explicitly enabled. We enable Native for now as it doesn't
|
||||
# depend on anything else as oppossed to GMP and FFI.
|
||||
# Apply patch which fixes a compilation failure we encountered.
|
||||
# Can be removed if the following issue is resolved / the patch
|
||||
# is merged and released:
|
||||
# * https://gitlab.haskell.org/ghc/ghc/-/issues/19638
|
||||
# * https://gitlab.haskell.org/ghc/ghc/-/merge_requests/5454
|
||||
ghc-bignum = overrideCabal super.ghc-bignum (old: {
|
||||
configureFlags = (old.configureFlags or []) ++ [ "-f" "Native" ];
|
||||
patches = (old.patches or []) ++ [
|
||||
(pkgs.fetchpatch {
|
||||
url = "https://gitlab.haskell.org/ghc/ghc/-/commit/08d1588bf38d83140a86817a7a615db486357d4f.patch";
|
||||
sha256 = "1qx4r031y72px291vz38bng9sb23r8zb35s03v5hhawlmgzfzcb5";
|
||||
stripLen = 2;
|
||||
})
|
||||
];
|
||||
});
|
||||
|
||||
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super
|
||||
|
@ -5653,7 +5653,6 @@ broken-packages:
|
||||
- GGg
|
||||
- ggtsTC
|
||||
- gh-labeler
|
||||
- ghc-bignum
|
||||
- ghc-clippy-plugin
|
||||
- ghc-core-smallstep
|
||||
- ghc-datasize
|
||||
|
Loading…
Reference in New Issue
Block a user