This commit is contained in:
Julian Ospald 2020-08-19 19:40:59 +02:00
parent 8b274214af
commit 85bd87d5f3
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

View File

@ -119,7 +119,8 @@ There are a couple of good use cases to install custom bindists:
3. DWARF bindists
- example: `ghcup -c -n install ghc -u '{"dlHash": "", "dlSubdir": { "RegexDir": "ghc-.*"}, "dlUri": "https://downloads.haskell.org/~ghc/8.10.2/ghc-8.10.2-x86_64-deb10-linux-dwarf.tar.xz" }' 8.10.2-dwarf`
Since the version parser is pretty lax, `8.10.2-eff` and `head` are both valid versions.
Since the version parser is pretty lax, `8.10.2-eff` and `head` are both valid versions
and produce the binaries `ghc-8.10.2-eff` and `ghc-head` respectively.
GHCup always needs to know which version the bindist corresponds to (this is not automatically
detected).