From 281fb14d4cd40e2f635b77fb0f0c087f8c684e67 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Tue, 29 Sep 2020 23:33:55 +0200 Subject: [PATCH] Rename ghc-9.0.1-alpha1 to 9.0.0.20200925 wrt #73 --- README.md | 11 +++++++++++ ghcup-0.0.3.yaml | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 64be36f..06dd598 100644 --- a/README.md +++ b/README.md @@ -163,6 +163,17 @@ In addition this script can also install `cabal-install`. ## Known problems +### Custom ghc version names + +When installing ghc bindists with custom version names as outlined in +[installing custom bindists](#installing-custom-bindists), then cabal might +be unable to find the correct `ghc-pkg` (also see [#73](https://gitlab.haskell.org/haskell/ghcup-hs/-/issues/73)) +if you use `cabal build --with-compiler=ghc-foo`. Instead, point it to the full path, such as: +`cabal build --with-compiler=$HOME/.ghcup/ghc//bin/ghc` or set that GHC version +as the current one via: `ghcup set ghc `. + +This problem doesn't exist for regularly installed GHC versions. + ### Limited distributions supported Currently only GNU/Linux distributions compatible with the [upstream GHC](https://www.haskell.org/ghc/download_ghc_8_6_1.html#binaries) binaries are supported. diff --git a/ghcup-0.0.3.yaml b/ghcup-0.0.3.yaml index cadcdf4..7a43a7e 100644 --- a/ghcup-0.0.3.yaml +++ b/ghcup-0.0.3.yaml @@ -1193,7 +1193,7 @@ ghcupDownloads: dlUri: https://files.hasufell.de/ghc/ghc-8.10.2-i386-alpine-linux.tar.xz dlSubdir: ghc-8.10.2 dlHash: 9ee1cf1e85e9536088b3c9e80e975074e525ea378cd4eb156071bbc4b7b38327 - 9.0.1-alpha1: + 9.0.0.20200925: viTags: - Prerelease - base-4.15.0.0