[ANN] GHCup 0.1.17 release

How to upgrade

ghcup upgrade

Or follow https://www.haskell.org/ghcup/ if you haven’t installed yet.

Changelog

  • Add --force option to install/compile wrt #210 by Arjun Kathuria
  • Implement compiling HLS from source wrt #201
  • Implement experimental GPG verification of the metadata file (see README) wrt #263
  • Add ghcup unset command wrt #145
  • Add ghcup whereis bindir etc wrt #221
  • Greatly reduce dependency footprint wrt #212
  • Add ghcup --plan-json
  • Improve --patchdir option for GHC compilation wrt #226
  • Try to improve logging and failure modes, especially during downloads
  • Add descriptive warnings when HLS and GHC versions are incompatible
  • Improve curl header parsing wrt #213

FAQ

Since there have been a lot of “why should I use ghcup” etc. questions, I wrote up an FAQ: https://gitlab.haskell.org/haskell/ghcup-hs#faq

13 Likes

Thank you and other contributors for your continuous work on this project. I’ve started using it recently, especially on an M1 macbook, and the experience has been good.

3 Likes

Great work as usual, thanks specially for the compile hls feature, i am just installing a custom version with

 ghcup compile hls --repository https://github.com/pepeiborra/ide.git --overwrite-version new-shake --cabal-project cabal-ghc901.project --git-ref reimplement-shake 9.0.1
3 Likes

I was able to upgrade with ghcup upgrade, but I don’t see 0.1.17 available for manual install here: https://downloads.haskell.org/~ghcup/.

The download server has a cache. It can be purged with e.g. curl. Try https://downloads.haskell.org/~ghcup/0.1.17/

1 Like

That did the trick. Thank you!

I was also able to defeat the cache by appending a bogus query parameter, like https://downloads.haskell.org/~ghcup/?1.