haskell / haskell/cabal

cabal won't report error/warning if hscolour is not installed when using --haddock-hyperlink-source

Open
#1,216 1 comment 0 reactions 0 assignees View on GitHub
Cabal: other meta: easy type: bug
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

cabal-install version 1.16.0.2
using version 1.16.0.3 of the Cabal library

It seems like cabal won't generate source links if hscolour is not installed, and `jobs:` option in cabal's configuration file will hide error/warning(haddock) messages from haddock.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the report with cabal-install 1.16.0.2, --haddock-hyperlink-source, and hscolour absent, then repeat with the jobs: configuration option enabled. Trace the Haddock invocation and its diagnostic handling; done means missing hscolour and Haddock errors or warnings are reported instead of being hidden.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
build-system, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.