This repository was archived by the owner on Jul 8, 2024. It is now read-only.
Releases: haskell/ghcup
Releases · haskell/ghcup
0.0.7
This release introduces a new way of installing ghcup (and GHC and cabal in the process)
with the infamous curl .. | sh
pattern. See #36 for discussion. This
is completely optional.
Features:
- Add a bootstrap-haskell script, fixes #36
- Allow to specify tags for
ghcup install
,ghcup install-cabal
andghcup set
ghcup list
also shows tags- support installing on macOS aka Darwin
- Improve detection logic for CentOS/Alpine/AIX/FreeBSD
- Introduce a GHCUP_INSTALL_BASE_PREFIX env variable to control where
.ghcup
directory will be created - Add rudimentary support for Amazon Linux
Bugfixes:
- Create missing haddock -> haddock-ghc symlink
- Emit distro-alias inferred in
debug-info
output - Tweak exit code for
ghcup install
(If a GHC is already installed, we shouldn't treat it as an error)
Cleanups:
- Simplify mkdir calls
- Documentation improvements
- Error handling improvements
API changes:
self-update
was renamed toupgrade
0.0.6
This release introduces the meta files .available-versions and .download-urls, which can be maintained independently and will be downloaded on-the-fly by the script to discover available upstream versions and appropriate tarballs for the current distribution.
Features:
- allow to specify a build config for 'ghcup compile'
- add 'debug-info' subcommand
- allow to use wget instead of curl
- introduce optional tarball caching
- install recommended GHC version
- list available/supported GHC versions
Bugfixes:
- better discovery of distro binary tarball due to meta file
- make unpacking more robust
- make uninstallation more robust and safer (with confirmation)
- remove dangling ghc, ghci, ... symlinks after removal of active GHC
- get rid of realpath requirement
- check for required commands
Cleanups:
- README improvements (by @fommil )