Skip to content

Commit

Permalink
solver: Prevent ghc-internal from being reinstalled (see haskell#10087)…
Browse files Browse the repository at this point in the history
… (haskell#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>
  • Loading branch information
adamgundry and mergify[bot] authored Jun 13, 2024
1 parent be10be8 commit b1c8ee6
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 b1c8ee6

Please sign in to comment.