-
Notifications
You must be signed in to change notification settings - Fork 842
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 setup for stack hoogle
is unreliable
#2524
Comments
Another option might be to have a few stack.yaml files up in some repo (stackage-content?), which specify how to build the latest hoogle atop different compilers. |
Ah, thanks for pointing out that stack will build a separate hoogle binary for each project which somewhat exacerbates the problem of finding a valid build plan. Is there actually an advantage or technical need to having separate hoogle binaries as opposed to a single hoogle installation in, say, If only a single hoogle binary is needed we could just ask @ndmitchell to include a |
There's no technical motivation to do with LTS versions, it's just that |
Just hit the same problem and a global install worked as an alternative. To be honest I find it a strange choice to claim that "common" tooling should be installed per project basis. I would feel strange with an IDE that would install git for each new project I create. On another note on hoogle, maybe others don't have this issue, but being unable to build (and sequently use) the db because the current project doesn't compile is a bit of the pain. This happens only on the first run of hoogle on the current project (and when new dependencies are added, possibly), but still I think that would be a easily second wall new users would hit (after the installation issue). |
We should probably use the solver to find the build plan, even if that requires
cabal-install
.The text was updated successfully, but these errors were encountered: