Skip to content

Commit

Permalink
solver: Prevent ghc-internal from being reinstalled (see #10087)
Browse files Browse the repository at this point in the history
GHC 9.10 ships with a new wired-in package, ghc-internal, which cannot
be reinstalled. This commit prevents cabal-install from attempting it.
  • Loading branch information
adamgundry authored and Mikolaj committed Jun 10, 2024
1 parent cb1b60f commit 20d3a52
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cabal-install/src/Distribution/Client/Dependency.hs
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,7 @@ nonReinstallablePackages :: [PackageName]
nonReinstallablePackages =
[ mkPackageName "base"
, mkPackageName "ghc-bignum"
, mkPackageName "ghc-internal"
, mkPackageName "ghc-prim"
, mkPackageName "ghc"
, mkPackageName "integer-gmp"
Expand Down

0 comments on commit 20d3a52

Please sign in to comment.