-
Notifications
You must be signed in to change notification settings - Fork 81
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
hie-bios status in rules_haskell #1386
Comments
@teto Thank you for raising this. The |
also I've noticed a discrepancy between ghcide (which use hie-bios as documented by rules-haskell aka hie-bios calls bazel to get flags) and the plain bazel build. for instance some of the warnings in ghcide become errors when running bazel build etc. Has anyone noticed sthg similar ? |
The |
I have indeed the |
That's an interesting idea. You may need to work around issues with generated files as described in haskell/ghcide#522 (comment). AFAIK multi-cradle works on file paths, so I had to define a separate cradle for generated files in that example, since they appear under You can use
It may be worth looking into when and why this is slow. Bazel should cache the
I'm not aware of a project like this. There was some discussion about using
That would be great, yes! |
This was addressed by #1389. |
I have 2 questions mostly:
The doc says
but I believe latest hie-bios needs additionnal flags aka the modules (if I trust this comment: https://github.com/digital-asset/ghcide/issues/679#issuecomment-652258071)
does rules_haskell generate these too ? (doesn't seem like it in my test)
also I would like to install the hie-bios executable in my bazel repo (to be able to run
hie-bios debug
mostly). Is there a straightforward rules_haskell way ? or should I do it in my repocheers
The text was updated successfully, but these errors were encountered: