commercialhaskell / commercialhaskell/stack

--hoogle can't be added to stack haddock command

Open
#3,447 4 comments 0 reactions 0 assignees View on GitHub
component: hoogle
Dominant language
Haskell
Stars
4.1k
Forks
850
Avg merge
10h 37m
Merged PRs (30d)
4

Description

When I try to run:
**stack haddock --haddock-arguments=--hoogle**
I get the error:
**"haddock: --hoogle cannot be used with --gen-index or --gen-contents"**
I can see that these additional parameters have been added by stack before the actual command is executed:
**...haddock.EXE --hoogle --gen-contents --gen-index....**

Is there a work-around for this?
(Stack version 1.5.1)

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.