How to update/install
Follow the instructions here: GHCup
Or run ghcup upgrade
.
Main changes
- more interactivity in the TUI interface
- fixes for darwin with ld override and ability to pass configure args to bindist
- many improvements to
ghcup compile hls
, hopefully making it a better alternative to bindists
Breaking changes
To improve installation safety, some changes have been made. Some buggy hadrian bindists are now unsupported. GHCup has fixed those bindists here: Index of /ghcup/unofficial-bindists/ghc/curated/
The fix is also upstreamed in newer versions of GHC.
Full changelog
- Fix tui set wrt #266 by Arjun Kathuria
- Ask the user to install the tool via prompt when setting an non-installed version
- improvements to safe (un-)installations
- bindists that don’t support
make DESTDIR=/some/tmp/dir install
are now unsupported - installed GHC files are now recorded to avoid use of
removePathForcibly
- internally uses a newtype wrapper for user-input paths and restrict destructive operations to validated paths
- bindists that don’t support
- Add
--disable-ld-override
for darwin bindists wrt #391 - Allow passing bindist configure args wrt #377
- use of
TMPDIR
is dropped… now uses an internal tmp dir~/.ghcup/tmp
- improvements to error handling and warnings
- Require --isolate to have an absolute directory, fixes #367
- Fix mingw PATH handling wrt #371
- Add --mingw-path switch to
ghcup run
- Fix
ghcup run
on windows, fixes #375 - Improve
ghcup compile <hls|ghc>
- short hashes now work
- print the long hash in addition to the detected version
- Improve
ghcup compile hls
- add
--git-describe-version
switch as an alternative to--overwrite-version
- Allow to build HLS from hackage (now is the default)
- Allow to run ‘cabal update’ automatically before the HLS build
- Fix parser and completer for ‘ghcup compile hls --version’
- add
- Improve
ghcup compile ghc
- Allow to build from arbitrary GHC source dists