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

Fix components in build-type: Custom packages #2257

Merged
merged 6 commits into from
Oct 9, 2024
Merged

Conversation

hamishmack
Copy link
Collaborator

These components may depend on the library component of the package however plan.json does not include that dependency (since cabal will build all the components at once). This fix adds the library component as a dependency of the other components.

These components may depend on the `library` component of the package however `plan.json` does not include that dependency (since cabal will build all the components at once).  This fix adds the library component as a dependency of the other components.
Copy link
Member

@andreabedini andreabedini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGMT

hamishmack added a commit that referenced this pull request Oct 8, 2024
This is an alternative to #2257 that is probably closer to the `cabal-install` behaviour.

It also has the advantage of removing the special case for `cabal-doctest`.
@hamishmack hamishmack merged commit 1cc7d4b into master Oct 9, 2024
29 of 31 checks passed
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

Successfully merging this pull request may close these issues.

2 participants