diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix index 43167548bd85..e89d77d5fa4e 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -993,6 +993,12 @@ self: super: builtins.intersectAttrs super { # Wants to execute cabal-install to (re-)build itself hint = dontCheck super.hint; + # Make sure that Cabal 3.8.* can be built as-is + Cabal_3_8_1_0 = doDistribute (super.Cabal_3_8_1_0.override { + Cabal-syntax = self.Cabal-syntax_3_8_1_0; + process = self.process_1_6_15_0; + }); + # cabal-install switched to build type simple in 3.2.0.0 # as a result, the cabal(1) man page is no longer installed # automatically. Instead we need to use the `cabal man`