ghc-8.10.3
Closed this issue · 10 comments
- First of all, thanks for the great work done here
- We are using the docker image in circleci to test haskell-language-server and we are trying to add support for ghc-8.10.3 so it would be great to get that version in the docker image
- Thanks in advance!
Hi, GHC 8.10.3 has now been out for over a month. It reached Stackage LTS over a week ago. In fact, 8.10.3 is the only version in the the GHC 8.10.* series that is supported in Stackage LTS. Anyone relying on Stackage LTS via docker who wants to use only the official docker images cannot stay on latest LTS anymore.
(We are in that situation for our CI/CD and QA toolchains.)
So at this point it has become quite urgent to get official docker images for 8.10.3. If there is anything I can do to help, please let me know. Thanks very much!
I created haskell-CI/haskell-ci#471 for tracking this. Until Debian supports ghc 8.10.3 the issue is blocked from a docker haskell perspective.
Thanks @AlistairB ! Again - if there's anything we can do to help push it forward, please let me know.
Hi all - I have a workaround until this issue is resolved. https://github.com/ejconlon/docker-haskell-custom uses ghcup to install recent releases. You can build your own images with the included scripts.
@hvr Would it make sense to build the official images with ghcup rather than having to build and publish apt packages? I'm loving ghcup and the quick availability of new compiler versions in it!
Looks like ghcup
may become the official default and subsume https://downloads.haskell.org/debian/ + https://launchpad.net/~hvr/+archive/ubuntu/ghc and others I guess. haskell-CI/haskell-ci#474
In which case I guess these docker images should follow suit.
If someone wants to review my changes to the base image here I would be happy to make a PR for this repo. (Also we should talk about dropping the old Debian release for new images to simplify things...)
The missing ghc versions (and cabal 3.4) are now appearing https://downloads.haskell.org/debian/ 🎉 I believe this is no longer blocked upstream.
Looks like ghcup may become the official default
For the record, even though there were some delays in packaging the new releases (GHC 9 was weakly held up because I wanted to wait for final cabal 3.4 release to batch all in one go to reduce the mental context-switch overhead), the Ubuntu PPA and Debian apt repo will continue to be supported for the foreseeable future. With future GHC versions acquiring a native codegen for aarch64 I'm strongly considering packaging up debian packages for aarch64 as well.
8.10.3 and 8.10.4 (and 9.0.1) just merged upstream and will be available in a few hours