-
Notifications
You must be signed in to change notification settings - Fork 696
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--hoogle
flag of haddock-project
makes no difference
#10630
Comments
Cc @coot |
I don't use hoogle myself, so it would be nice to get a contribution from sb who knows what to expect 😉. |
Oh, so that's another instance of a flag not implemented but silently swallowed. Unfortunately, it's a common issue that we have in Cabal code base after the introduction of v2 interface. PRs welcome for implementing |
I was thinking maybe $ hoogle generate --database=db.hoo --local=docs/
# the generated database has all the packages, can be observed by running a server:
$ hoogle server --local --database=db.hoo Maybe the best thing to do is to remove the |
My previous message was trying to suggest that it’s easier said than done. |
Yes, that's the right way to do it for |
Describe the bug
I am not exactly sure what the expected outcome of
cabal haddock-project --hoogle
is, but from what I can tell, the--hoogle
flag makes no difference at all.To Reproduce
Steps to reproduce the behavior:
$ cabal haddock-project --output=docs $ cabal haddock-project --output=docs-hoogle --hoogle $ meld docs docs-hoogle # or any other diff tool that can diff directories
Expected behavior
--hoogle
flag should have an effectSystem information
cabal
: 3.12.1.0ghc
: 9.6.5The text was updated successfully, but these errors were encountered: