Ghcup Versions Save

DEPRECATED IN FAVOR OF haskell/ghcup-hs

0.0.7

5 years ago

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 and ghcup 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 to upgrade

0.0.6

5 years ago

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 )

0.0.5

5 years ago

Bugfixes:

  • fix OS detection on debian (reported by @shapr)

Features:

  • self-update now updates the script in-place no matter where it is (previously was ~/.local/bin), by @fommil

Cleanups:

  • README improvements

0.0.4

5 years ago

Awesome release