-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wiredInPackages is out of date and depends on GHC version #40
Comments
I don't know why stack needs the list, seems odd if it wouldn't tie it to GHC versions. For curator, I think: a ghc-wired package missing in curator means we may upgrade it and that can break snapshots - but perhaps that would also break the creation of the snapshots since we build with stack. If it's missing in ghc it means that we won't upgrade them in snapshots even if we have to - so that's less of an issue. I'm not sure what actual issues it may cause... we should keep it up-to-date |
Yeah looks like you wouldn't be able to specify such a package in a snapshot:
src/Curator/Snapshot:192 |
As wired-in packages are GHC boot packages, I think they should not be included directly in snapshots. I've done some spring cleaning on Stack's list. |
@bergmark, Stack will not create a project with the same name as a wired-in package. For example:
|
Sort of related haskell/cabal#9669 |
See also: haskell/cabal#10087 GHC-9.12 is likely to not wire-in template-haskell and base. |
GHC's wired-in packages are currently
https://gitlab.haskell.org/ghc/ghc/-/blob/master/compiler/GHC/Unit/Types.hs#L635-643
curator and stack both have different lists.
Curator:
https://github.com/commercialhaskell/curator/blob/master/src/Curator/Snapshot.hs#L565-L580
Stack: commercialhaskell/stack#6558
I have no idea what effect this has on Stack or Stackage snapshots.
The text was updated successfully, but these errors were encountered: