Skip to content

FYI: cabal-install will always solve for tasty too #519

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

Closed
phadej opened this issue Dec 19, 2024 · 1 comment
Closed

FYI: cabal-install will always solve for tasty too #519

phadej opened this issue Dec 19, 2024 · 1 comment

Comments

@phadej
Copy link
Contributor

phadej commented Dec 19, 2024

Due vector having a (private) library for benchmarks, cabal-install's solver will always also solve for its dependencies, even if that (private sub) library is never required.

This is not really a huge issue, but it's confusing when someone (like me) looks at the install plan and wonders why e.g. tasty appears there.

This is a long-standing issue in cabal-install haskell/cabal#4087

EDIT: the worst case scenario is that this can lead to dependency loop between packages (but not components). Likely tasty is dependency-lightweight package itself.

@lehins
Copy link
Contributor

lehins commented Dec 19, 2024

Thank you for letting us know. I personally was familiar with this issue. Seems like more reason to solve it in cabal. There will be more and more packages using private and public sub-libraries and it seems like a serious deficiency in a build tool that claims to have full support of this feature.

@lehins lehins closed this as completed Dec 19, 2024
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

2 participants