Check for GHC manpage existence

Wrt https://github.com/haskell/ghcup-hs/issues/990
This commit is contained in:
Julian Ospald 2024-02-24 19:27:40 +08:00
parent 7c4d1fbec7
commit 80e1d2443f
No known key found for this signature in database
GPG Key ID: 4275CDA6A29BED43
1 changed files with 1 additions and 0 deletions

View File

@ -111,6 +111,7 @@ case $TOOL in
cabal install --lib --package-env=. clock
# https://github.com/haskell/ghcup-hs/issues/966
cabal install --lib --package-env=. hashable
[[ -e "$(ghcup whereis --directory ghc "$VERSION")/../share/man/man1/ghc.1" ]]
;;
cabal)
ghcup_fun install ghc --set "$(ghcup_fun list -t ghc -r -c available | tail -1 | awk '{ print $2 }')"