Skip to content

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

Open
@marklnichols

Description

@marklnichols

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions