forked from mirrors/nixpkgs
haskellPackages.ghc-bignum: pin to 1.0 for 8.10.* support
Starting with GHC 9.0.1 ghc-bignum is bundled with GHC and we don't need to worry about building it from hackage. ghc-bignum 1.2 doesn't seem to build with anything before 9.2.1, so we need to downgrade ghc-bignum to 1.0 (and sadly keep our patches) for 8.10.7 support.
This commit is contained in:
parent
e6272c1715
commit
cc61d6cca0
|
@ -96,6 +96,8 @@ default-package-overrides:
|
|||
- SVGFonts < 1.8
|
||||
# 2021-11-09: 0.20.6 can't be built with aeson < 2.0 which is a pain to override at the moment
|
||||
- futhark < 0.20.6
|
||||
# 2021-11-09: ghc-bignum is bundled starting with 9.0.1; only 1.0 builds with GHCs prior to 9.2.1
|
||||
- ghc-bignum == 1.0
|
||||
|
||||
extra-packages:
|
||||
- base16-bytestring < 1 # required for cabal-install etc.
|
||||
|
|
|
@ -103415,6 +103415,16 @@ self: {
|
|||
}) {};
|
||||
|
||||
"ghc-bignum" = callPackage
|
||||
({ mkDerivation }:
|
||||
mkDerivation {
|
||||
pname = "ghc-bignum";
|
||||
version = "1.0";
|
||||
sha256 = "0xl848q8z6qx2bi6xil0d35lra7wshwvysyfblki659d7272b1im";
|
||||
description = "GHC BigNum library";
|
||||
license = lib.licenses.bsd3;
|
||||
}) {};
|
||||
|
||||
"ghc-bignum_1_2" = callPackage
|
||||
({ mkDerivation }:
|
||||
mkDerivation {
|
||||
pname = "ghc-bignum";
|
||||
|
@ -103422,6 +103432,7 @@ self: {
|
|||
sha256 = "0ldg53hirqz6yszacpajq6pf407bflyk46wjhx5g8n2cjz54vv3p";
|
||||
description = "GHC BigNum library";
|
||||
license = lib.licenses.bsd3;
|
||||
hydraPlatforms = lib.platforms.none;
|
||||
}) {};
|
||||
|
||||
"ghc-bignum-orphans" = callPackage
|
||||
|
|
Loading…
Reference in a new issue