diff options
author | Ben Simms <ben@bensimms.moe> | 2021-06-02 18:46:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-02 19:46:54 +0200 |
commit | dd1d2fad8a85ca315457b813ca794d0499de9485 (patch) | |
tree | 4fc436eba1e86a4f3d4c7a597041651b09e3a4fc | |
parent | 140fc2ce530bf963e5329252d59219083257ac47 (diff) |
Update CONTRIBUTING.md (#1402)
-rw-r--r-- | CONTRIBUTING.md | 16 |
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 |