From 20d3a52f943501cbe3429a7dafe24d082f6de57f Mon Sep 17 00:00:00 2001 From: Adam Gundry Date: Sun, 9 Jun 2024 22:37:23 +0200 Subject: [PATCH] solver: Prevent ghc-internal from being reinstalled (see #10087) GHC 9.10 ships with a new wired-in package, ghc-internal, which cannot be reinstalled. This commit prevents cabal-install from attempting it. --- 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"