commercialhaskell / stackage

Stable Haskell package sets: vetted consistent packages from Hackage
https://www.stackage.org/
MIT License
525 stars 797 forks source link

`Cabal`, a GHC boot package, has been included in `nightly` snapshots - in error? #7458

Open mpilgrem opened 1 week ago

mpilgrem commented 1 week ago

GHC boot packages are not intended*** to be included directly in snapshots (they are specified only by the GHC version specified by the snapshot). However, due to https://github.com/commercialhaskell/stackage/issues/7357, Cabal has been included in recent nightly snapshots.

This causes problems when the compiler of a snapshot is overriden.

*** My basis for 'not intended' is this 2019 blog entry by Michael Snoyberg: https://www.snoyman.com/blog/2019/01/mismatched-global-packages/ and the quote:

LTS Haskell snapshots never specify versions of global packages. Instead, they are implicitly inherited from the GHC global package database.

mpilgrem commented 1 day ago

This is still a problem as of nightly-2024-06-28.