Open
Description
cabal-install
maintains a list of nonReinstallablePackages
, preventing certain packages being reinstalled by the user. This list needs some updates:
ghc-internal
(released with GHC 9.10) should be considered non-reinstallable, so it needs to be added to the list.- Following the excellent work by @TeofilC in https://gitlab.haskell.org/ghc/ghc/-/merge_requests/12479, GHC 9.12 will allow reinstallation of the
template-haskell
package, so it can be removed from the list (cf. Marktemplate-haskell
non-upgradable (again) #4185). - GHC 9.12 will hopefully allow reinstallation of
base
; this is not yet fully implemented but is tracked in https://gitlab.haskell.org/ghc/ghc/-/issues/24903 (cc @mpickering).
The list of non-reinstallable packages does not currently depend on the compiler version. Really it should; is there an easy way to achieve this?
cabal/cabal-install/src/Distribution/Client/Dependency.hs
Lines 447 to 471 in dda541c
Activity