-
Notifications
You must be signed in to change notification settings - Fork 843
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
Fix building haddocks for packages with internal libraries #4596
Conversation
Originally I planned to add an integration test for this but it looks to require fresh haddock existing in LTS-13 otherwise haddock fails with an error like in #4428 |
Thank you |
Unless I'm misunderstanding something or doing something wrong, I'm still not able to run Here's what my I've essentially got:
|
This looks to me like a circular dependencies issue, as (unless this has been changed recently) stack's build plans do not yet work at a component level. This means |
it was decided to look into component-based builds after the upcoming release |
@qrilka do you know if there has been more work on this (that doesn't reference the issue)? I still get the same "internal error when calculating transitive dependencies" with Stack 2.1.3. My dependencies are even simpler than those of @dcastro. I have the following:
|
@madgen I think we need component-based builds for that and there were no movements yet in that direction unfortunately. |
Please include the following checklist in your PR:
I've tested it using https://github.com/qrilka/test-internal-haddock. Without this patch I get
While with this fix I get correct results.
Fixes #3989