haskell / docker-haskell

MIT License
61 stars 36 forks source link

Add image for GHC 9.6 #102

Closed tarleb closed 4 months ago

tarleb commented 1 year ago

GHC 9.6.1 was released on Mar 10: https://www.haskell.org/ghc/download_ghc_9_6_1.html

tarleb commented 1 year ago

It seems that upstream does currently not provide a aarch64 linux version of cabal-install 3.10.1.0.

tarleb commented 1 year ago

@AlistairB what is the usual way to proceed here? Is this something that we need to act on, or should we just wait for all necessary binaries to become available?

AlistairB commented 1 year ago

Ah good pickup. This looks to be an oversight in their release process. Ideally it would be good to raise an issue to let the cabal folk know it is missing and wait for it to be added. (I was also hoping for aarch64 + deb11 release, although looks like ghc 9.6.1 does not include aarch64 + deb11 either so still blocked on that front. Looks like GHC will have this as of 9.8.1).

Another tip, it can be useful to see what ghcup is doing. In this case we can see that it is using 'unofficial bindists', so ghcup is filling in this blank itself (just to sanity check there is not some other bindist we are not noticing). The docker official images cannot use unofficial releases though.

Also, with 9.6.1 being released, I think it is time to drop 9.0 support. 9.0 was a 'tick' or 'non-LTS' release. See https://github.com/haskellfoundation/tech-proposals/pull/34 (which was not endorsed, but it is still the unofficial policy). With 9.2 being a LTS type release that has a stackage lts and also ghcup has as the 'recommended' version, 9.0 can go I reckon.

develop7 commented 4 months ago

Fixed by #109