From dd1d2fad8a85ca315457b813ca794d0499de9485 Mon Sep 17 00:00:00 2001 From: Ben Simms Date: Wed, 2 Jun 2021 18:46:54 +0100 Subject: Update CONTRIBUTING.md (#1402) --- CONTRIBUTING.md | 16 ++++++++-------- 1 file 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 -- cgit v1.2.3