diff --git a/CHANGELOG.md b/CHANGELOG.md index 38114e1..30ad014 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,21 @@ # Revision history for ghcup +## 0.1.5 -- 2020-04-30 + +* Fix errors when PATH variable contains path components that are actually files +* Add `--version` and `--numeric-version` options +* Add `changelog` command +* Also check for available GHC and Cabal updates on start +* Add base versions as tags for every GHC version (these are "installable" tags and the latest GHC version matching the tag will be picked) +* Added `--format-raw` to list subcommand +* Allow to install X.Y versions (e.g.: ghcup install 8.8) +* Implement `--keep=` to control temporary build directories cleanup +* Add proper shell completions to the repo +* Fix building of documentation +* Allow to work in offline mode and use cached files if possible +* Allow to set the downloader via `--downloader=` +* Support for compiling and installing a cross GHC (see README). This is experimental. + ## 0.1.4 -- 2020-04-16 * build on all platforms with curl (as a binary), wrt https://gitlab.haskell.org/haskell/ghcup-hs/issues/6 diff --git a/ghcup-0.0.2.json b/ghcup-0.0.2.json index 343dffd..96b0c94 100644 --- a/ghcup-0.0.2.json +++ b/ghcup-0.0.2.json @@ -58,6 +58,33 @@ "distroPKGs": [], "notes": "You need the following packages: curl g++ gcc gmp make ncurses realpath xz-utils. Consult your distro documentation on the exact names of those packages." } + }, + "Linux_CentOS": { + "7": { + "distroPKGs": [ + "gcc", + "gcc-c++", + "gmp", + "make", + "ncurses", + "xz", + "perl" + ], + "notes": "" + }, + "unknown_versioning": { + "distroPKGs": [ + "gcc", + "gcc-c++", + "gmp", + "make", + "ncurses", + "ncurses-compat-libs", + "xz", + "perl" + ], + "notes": "" + } } } } diff --git a/ghcup.cabal b/ghcup.cabal index 7e82441..619e5ba 100644 --- a/ghcup.cabal +++ b/ghcup.cabal @@ -1,6 +1,6 @@ cabal-version: 3.0 name: ghcup -version: 0.1.4 +version: 0.1.5 synopsis: ghc toolchain installer as an exe/library description: A rewrite of the shell script ghcup, for providing diff --git a/lib/GHCup/Version.hs b/lib/GHCup/Version.hs index 033a796..037ab24 100644 --- a/lib/GHCup/Version.hs +++ b/lib/GHCup/Version.hs @@ -16,7 +16,7 @@ ghcupURL :: URI ghcupURL = [uri|https://www.haskell.org/ghcup/data/ghcup-0.0.2.json|] ghcUpVer :: PVP -ghcUpVer = [pver|0.1.4|] +ghcUpVer = [pver|0.1.5|] numericVer :: String numericVer = T.unpack . prettyPVP $ ghcUpVer