aboutsummaryrefslogtreecommitdiff
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorBen Simms <ben@bensimms.moe>2021-06-02 18:46:54 +0100
committerGitHub <noreply@github.com>2021-06-02 19:46:54 +0200
commitdd1d2fad8a85ca315457b813ca794d0499de9485 (patch)
tree4fc436eba1e86a4f3d4c7a597041651b09e3a4fc /CONTRIBUTING.md
parent140fc2ce530bf963e5329252d59219083257ac47 (diff)
Update CONTRIBUTING.md (#1402)
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 1e1aeca6..9e7fe5c2 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -44,20 +44,20 @@ so that documentation built within GHC can benefit from it.
#### Using `cabal`
-Requires cabal `>= 3.4` and GHC `== 9.0`:
+Requires cabal `>= 3.4` and GHC `== 9.2`:
+
+First update the package list:
```bash
-cabal v2-build all --enable-tests
-cabal v2-test all
+cabal v2-update
```
-#### Using `stack`
+This is needed as haddock@ghc-9.2 uses the
+[ghc.head](https://ghc.gitlab.haskell.org/head.hackage/) package repository.
```bash
-stack init
-stack build
-export HADDOCK_PATH="$(stack exec which haddock)"
-stack test
+cabal v2-build all --enable-tests
+cabal v2-test all
```
### Updating golden testsuite outputs