Skip to content
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

feat: Add GHC 9.12.1 #145

Closed
wants to merge 1 commit into from
Closed

feat: Add GHC 9.12.1 #145

wants to merge 1 commit into from

Conversation

Totto16
Copy link
Contributor

@Totto16 Totto16 commented Dec 17, 2024

GHC 9.12.1 released yesterday (16th Dec 2024)

It officially supports debian 12 (bookworm) for both x86_64 and aarch64.
So this adds an image based on bookworm for that.

Nearly no changes to the existing 9.10.1 bullseye image were necessary, except, that Cabal 3.10.3.0 doesn't support debian 12, but >=3.12.1.0 does. GHC has a minimum supported version of 3.14.1.0 so I bumped cabal to that version.

TODOs

  • stack doesn't support ghc 9.12.1 and cabal-install 3.14 yet, wait for a new release, that supports that

Info

Download: https://downloads.haskell.org/ghc/9.12.1/
Blog: https://www.haskell.org/ghc/blog/20241216-ghc-9.12.1-released.html

this uses bookworm and bumps cabal to the first version, that supports bookworm and this version of ghc
@Totto16 Totto16 mentioned this pull request Dec 17, 2024
2 tasks
@Totto16 Totto16 marked this pull request as draft December 17, 2024 17:30
pgujjula added a commit to pgujjula/vcard that referenced this pull request Feb 21, 2025
Since GHC 9.12 is not available as an official Haskell docker image yet
[1], we pull it from an alternative source [2].

[1]: haskell/docker-haskell#145
[2]: https://github.com/benz0li/ghc-musl
pgujjula added a commit to pgujjula/vcard that referenced this pull request Feb 21, 2025
Since GHC 9.12 is not available as an official Haskell docker image yet
[1], we pull it from an alternative source [2].

[1]: haskell/docker-haskell#145
[2]: https://github.com/benz0li/ghc-musl
pgujjula added a commit to pgujjula/vcard that referenced this pull request Feb 21, 2025
Since GHC 9.12 is not available as an official Haskell docker image yet
[1], we pull it from an alternative source [2].

[1]: haskell/docker-haskell#145
[2]: https://github.com/benz0li/ghc-musl
@langston-barrett
Copy link

Is there a stack issue that tracks support for GHC 9.12? It's quite unfortunate that this has been delayed for 3 months now...

@Totto16
Copy link
Contributor Author

Totto16 commented Mar 14, 2025

Is there a stack issue that tracks support for GHC 9.12? It's quite unfortunate that this has been delayed for 3 months now...

As far as I can remember, it is already supported, but they just haven't made an official release yet. So there is no (at least open) issue for that, as it's already supported.

@jhrcek
Copy link
Collaborator

jhrcek commented Apr 7, 2025

Thanks for working on this, I made similar changes but with latest ghc 9.12.2 in #151
Changes coming to official images repo today or tomorrow.

@jhrcek jhrcek closed this Apr 7, 2025
@Totto16 Totto16 deleted the ghc-9.12.1 branch April 13, 2025 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants