From c87bcf8c8557b5450a16e956849a0e113cb657d2 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Wed, 1 Apr 2026 09:46:22 +0200 Subject: [PATCH] haskellPackages.cabal2nix-unstable: use latest Cabal This broke in 25eb3594716b6f1c344ca632d82aeb228084e27b, but some packages on hackage need at least 3.14 now. --- 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 ddfdbfb2bfaf..d436c8199564 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -144,6 +144,8 @@ with haskellLib; cabal-install-solver = super.cabal-install-solver.overrideScope cabalInstallOverlay; cabal2nix-unstable = super.cabal2nix-unstable.overrideScope cabalInstallOverlay; + distribution-nixpkgs-unstable = super.distribution-nixpkgs-unstable.overrideScope cabalInstallOverlay; + hackage-db-unstable = super.hackage-db-unstable.overrideScope cabalInstallOverlay; # Needs cabal-install >= 3.8 /as well as/ matching Cabal guardian = lib.pipe (super.guardian.overrideScope cabalInstallOverlay) [ @@ -156,6 +158,9 @@ with haskellLib; ) cabal-install cabal-install-solver + cabal2nix-unstable + distribution-nixpkgs-unstable + hackage-db-unstable guardian ;