Skip to content

Commit

Permalink
solver: Prevent ghc-internal from being reinstalled (see #10087) (#10093
Browse files Browse the repository at this point in the history
) (#10108)

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>
(cherry picked from commit b1c8ee6)

Co-authored-by: Adam Gundry <[email protected]>
  • Loading branch information
mergify[bot] and adamgundry authored Jun 13, 2024
1 parent a147f1b commit 70d837f
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 70d837f

Please sign in to comment.