diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix index b8748b911eb9..38f53d3e04c9 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix @@ -133,6 +133,9 @@ self: super: { hlint = self.hlint_3_4_1; + # test suite depends on vcr since hpack >= 0.38.1 which requires GHC2021 + hpack_0_38_1 = dontCheck super.hpack_0_38_1; + mime-string = disableOptimization super.mime-string; # weeder 2.3.* no longer supports GHC 8.10 diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix index a476886358b1..ab90e94de5ca 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix @@ -117,6 +117,9 @@ self: super: { "haskell-language-server has dropped support for ghc 9.0 in version 2.4.0.0, please use a newer ghc version or an older nixpkgs version" (markBroken super.haskell-language-server); + # test suite depends on vcr since hpack >= 0.38.1 which requires GHC2021 + hpack_0_38_1 = dontCheck super.hpack_0_38_1; + # Needs to use ghc-lib due to incompatible GHC ghc-tags = doDistribute self.ghc-tags_1_5;