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
2 people authored and tbidne committed Jul 3, 2024
1 parent 5d9a12c commit de3cdd8
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 de3cdd8

Please sign in to comment.