Merge pull request #35905 from deepfire/ghc-8.4

GHC 8.4 configuration: trim outdated overrides

authored by Peter Simons and committed by GitHub 7a402462 5b8a5001

+22 -30
+22 -30
pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix
··· 42 42 unix = null; 43 43 xhtml = null; 44 44 45 - # Undo the override in `configuration-common.nix`: GHC 8.4 bumps Cabal to 2.1: 46 - # Distribution/Simple/CCompiler.hs:64:10: error: 47 - # • No instance for (Semigroup CDialect) 48 - # arising from the superclasses of an instance declaration 49 - # • In the instance declaration for ‘Monoid CDialect’ 50 - # | 51 - # 64 | instance Monoid CDialect where 52 - # | ^^^^^^^^^^^^^^^ 53 - jailbreak-cabal = super.jailbreak-cabal.override { Cabal = self.Cabal; }; #pkgs.haskell.packages.ghc822.jailbreak-cabal; 54 - 55 45 ## Shadowed: 56 46 57 47 ## Needs bump to a versioned attribute ··· 66 56 ## Setup: Encountered missing dependencies: 67 57 ## ghc >=7.0 && <8.4 68 58 ## 69 - ## uncaught exception: IOException of type NoSuchThing (test/integration/testImport: changeWorkingDirectory: does not exist (No such file or directory)) 59 + ## uncaught exception: IOException of type NoSuchThing (cabal: rawSystem: runInteractiveProcess: exec: does not exist (No such file or directory)) 70 60 doCheck = false; 71 61 }); 72 62 ··· 77 67 free = super.free_5; 78 68 79 69 ## Needs bump to a versioned attribute 70 + ## Setup: Encountered missing dependencies: 71 + ## base >=3 && <4.11 80 72 ## Needed for (<>) in prelude 81 73 funcmp = super.funcmp_1_9; 82 74 ··· 107 99 }); 108 100 109 101 ## Needs bump to a versioned attribute 110 - ## breaks hspec: 111 102 ## Setup: Encountered missing dependencies: 112 - ## hspec-discover ==2.4.7 103 + ## hspec-discover ==2.4.8 113 104 hspec-discover = super.hspec-discover_2_4_8; 114 105 115 106 ## Needs bump to a versioned attribute 116 107 ## Setup: Encountered missing dependencies: 117 108 ## free ==4.*, template-haskell >=2.4 && <2.13 118 109 lens = super.lens_4_16; 119 - 120 - ## Needs bump to a versioned attribute 121 - QuickCheck = super.QuickCheck_2_11_3; 122 110 123 111 ## Needs bump to a versioned attribute 124 112 ## Setup: Encountered missing dependencies: ··· 575 563 jailbreak = true; 576 564 }); 577 565 566 + cabal2nix = super.cabal2nix.override { 567 + ## • No instance for (Semigroup (List a)) 568 + ## arising from the 'deriving' clause of a data type declaration 569 + ## Possible fix: 570 + hpack = self.hpack; 571 + }; 572 + 578 573 cabal-doctest = overrideCabal super.cabal-doctest (drv: { 579 574 ## Setup: Encountered missing dependencies: 580 575 ## Cabal >=1.10 && <2.1, base >=4.3 && <4.11 ··· 588 583 }); 589 584 590 585 deepseq-generics = overrideCabal super.deepseq-generics (drv: { 586 + ## Setup: Encountered missing dependencies: 587 + ## base >=4.5 && <4.11 591 588 ## https://github.com/haskell-hvr/deepseq-generics/pull/4 592 589 jailbreak = true; 593 590 }); ··· 635 632 jailbreak = true; 636 633 }); 637 634 635 + jailbreak-cabal = super.jailbreak-cabal.override { 636 + ## • No instance for (Semigroup CDialect) 637 + ## arising from the superclasses of an instance declaration 638 + ## • In the instance declaration for ‘Monoid CDialect’ 639 + ## Undo the override in `configuration-common.nix`: GHC 8.4 bumps Cabal to 2.1: 640 + Cabal = self.Cabal; 641 + }; 642 + 638 643 kan-extensions = overrideCabal super.kan-extensions (drv: { 639 644 ## Setup: Encountered missing dependencies: 640 645 ## free ==4.* ··· 669 674 ## Setup: Encountered missing dependencies: 670 675 ## base >=4.6 && <4.11 671 676 jailbreak = true; 672 - }); 673 - 674 - ## Issue: https://github.com/pcapriotti/optparse-applicative/issues/288 675 - optparse-applicative = overrideCabal super.optparse-applicative (drv: { 676 - ## Setup: Encountered missing dependencies: 677 - ## QuickCheck >=2.8 && <2.11 678 - doCheck = false; 679 677 }); 680 678 681 679 quickcheck-instances = overrideCabal super.quickcheck-instances (drv: { ··· 704 702 705 703 tasty-hedgehog = overrideCabal super.tasty-hedgehog (drv: { 706 704 ## Setup: Encountered missing dependencies: 707 - ## base >=4.8 && <4.11, tasty ==0.11.* 705 + ## base >=4.8 && <4.11 708 706 jailbreak = true; 709 707 }); 710 708 ··· 728 726 doCheck = false; 729 727 ## Setup: Encountered missing dependencies: 730 728 ## extra >=1.4.10 && <1.5, lens ==4.14.* 731 - jailbreak = true; 732 - }); 733 - 734 - th-abstraction = overrideCabal super.th-abstraction (drv: { 735 - ## Setup: Encountered missing dependencies: 736 - ## template-haskell >=2.5 && <2.13 737 729 jailbreak = true; 738 730 }); 739 731