commercialhaskell / commercialhaskell/stack

when building haddock under a docker image it suggests the wrong install option for hscolour

Open
#2,745 1 comment 0 reactions 0 assignees View on GitHub
component: output (UI/UX) type: enhancement
Dominant language
Haskell
Stars
4.1k
Forks
850
Avg merge
10h 37m
Merged PRs (30d)
4

Description

it says:

> Warning: haddock not generating hyperlinked sources because 'HsColour' not
> found on PATH (use 'stack install hscolour' to install).

but that command, `stack install hscolour`, won't work if you've invoked stack with `stack --docker --docker-image ... haddock`

stack version:

```
stack --version
Version 1.2.1, Git revision 8991addb0ad49fd6ca1a7c66b71303389ce2f5a1 x86_64 hpack-0.14.1
```

this is very minor. could be fixed by perhaps recalling the command that was used to invoke stack?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.