From b18e72812ff9d53a0efee9230e80123c5e3baf76 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Tue, 22 Apr 2025 02:45:09 +0200 Subject: [PATCH] haskellPackages.Cabal-hooks: build with matching version of Cabal --- pkgs/development/haskell-modules/configuration-common.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 8b9f587f8c43..6d19e2477aba 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -53,6 +53,11 @@ self: super: ) ); + # Needs matching version of Cabal + Cabal-hooks = super.Cabal-hooks.override { + Cabal = self.Cabal_3_14_1_1; + }; + # cabal-install needs most recent versions of Cabal and Cabal-syntax, # so we need to put some extra work for non-latest GHCs inherit