Skip to content
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 with cabal 3.2? #354

Open
erikd opened this issue May 26, 2020 · 4 comments
Open

Hoogle with cabal 3.2? #354

erikd opened this issue May 26, 2020 · 4 comments

Comments

@erikd
Copy link
Contributor

erikd commented May 26, 2020

I am using cabal version 3.2 for which

cabal haddock all --hoogle

does not wortk:

cabal: unrecognized 'haddock' option `--hoogle'

Using an earlier version of cabal (eg 2.4) is a huge pain in the neck because older versions can't read the index file, and so delete it and download a new one. Then when I switch back to 3.2 I need to download the index again.

Any idea what is required to implement cabal haddock all --hoogle ?

@erikd
Copy link
Contributor Author

erikd commented May 26, 2020

The name of the flag seems to have changed. This seems to at least generate the hoogle files:

cabal haddock all --haddock-hoogle

The documentation needs an update.

@ndmitchell
Copy link
Owner

Which documentation were you following?

@erikd
Copy link
Contributor Author

erikd commented May 26, 2020

@noughtmare
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants