Open sjakobi opened 8 years ago
BTW I have created a new label component: hoogle
for issues with stack hoogle
.
@chrisdone agrees that stack hoogle
should be available in the global project:
From slack:
i agree we need a bit of special logic for the global case
Instead of special casing "global project", it should just be a special case for projects with no local packages.
I just ran into precisely this issue. Is there any word on how this might be fixed?
It looks like
stack hoogle
tries to build the haddocks but has no build target. Given that one can e.g. open haddocks (withstack haddock --open
) from the global project, maybestack hoogle
could detect when it's in the global project and skip the haddock generation step?If having a local project is a strict requirement,
stack hoogle
should at least fail more gracefully in the global project.(Ping @chrisdone)