From b1c8ee6f6e82e534285ab4996b57a5043ab7d9bd Mon Sep 17 00:00:00 2001 From: Adam Gundry Date: Thu, 13 Jun 2024 02:52:12 +0100 Subject: [PATCH] solver: Prevent ghc-internal from being reinstalled (see #10087) (#10093) GHC 9.10 ships with a new wired-in package, ghc-internal, which cannot be reinstalled. This commit prevents cabal-install from attempting it. Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> --- cabal-install/src/Distribution/Client/Dependency.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/cabal-install/src/Distribution/Client/Dependency.hs b/cabal-install/src/Distribution/Client/Dependency.hs index 66a0a103c23..3f6a7fea32a 100644 --- a/cabal-install/src/Distribution/Client/Dependency.hs +++ b/cabal-install/src/Distribution/Client/Dependency.hs @@ -463,6 +463,7 @@ nonReinstallablePackages :: [PackageName] nonReinstallablePackages = [ mkPackageName "base" , mkPackageName "ghc-bignum" + , mkPackageName "ghc-internal" , mkPackageName "ghc-prim" , mkPackageName "ghc" , mkPackageName "integer-gmp"