Remove documentation of nightlies

GHC nightlies have been broken for a while and unless
they are not only fixed, but GHC upstream demonstrates that
they can make them work reliably, GHCup will not promote them.
This commit is contained in:
Julian Ospald 2023-10-07 16:54:54 +08:00
parent 76204aa366
commit a73ce186b5
No known key found for this signature in database
GPG Key ID: 4275CDA6A29BED43

View File

@ -47,8 +47,6 @@ Other tags include:
- `prerelease`: a prerelease version
- `latest-prerelease`: the latest prerelease version
- `nightly`: a nightly version
- `latest-nightly`: the latest nightly version
## Manpages
@ -211,34 +209,6 @@ url-source:
- "https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-prereleases-0.0.7.yaml"
```
### Nightlies
Nightlies are just another release channel. Currently, only GHC supports nightlies, which are binary releases
that are built every night from `master`.
To add the nightly channel, run:
```sh
ghcup config add-release-channel https://ghc.gitlab.haskell.org/ghcup-metadata/ghcup-nightlies-0.0.7.yaml
```
To list all nightlies from 2023, run:
```sh
ghcup list --show-nightly --tool=ghc --since=2023-01-01
```
Ways to install a nightly:
```sh
# by date
ghcup install ghc 2023-06-20
# by version
ghcup install ghc 9.7.20230619
# by tag
ghcup install ghc latest-nightly
```
## Stack integration
Stack manages GHC versions internally by default. In order to make it use ghcup installed