This release mainly introduces nightly support. Also see: https://www.haskell.org/ghcup/guide/#nightlies

Changelog

  • Implement support for nightlies, wrt #824
  • Fix GC with XDG dirs, fixes #810

How to upgrade

ghcup upgrade

How to use nightlies

Nightlies are just a nother release channel. Currently, only GHC supports nightlies, which are binary releases that are built every night from master.

To add the nightly channel, run:

ghcup config add-release-channel https://ghc.gitlab.haskell.org/ghcup-metadata/ghcup-nightlies-0.0.7.yaml

To list all nightlies from 2023, run:

ghcup list --show-nightly --tool=ghc --since=2023-01-01

Ways to install a nightly:

# by date
ghcup install ghc 2023-06-20
# by version
ghcup install ghc 9.7.20230619
# by tag
ghcup install ghc latest-nightly