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 committed Jun 9, 2024
1 parent dda541c commit be2e1c7
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 be2e1c7

Please sign in to comment.