-
Notifications
You must be signed in to change notification settings - Fork 710
Copy out Distribution.Solver from cabal-install into cabal-solver #5482
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
Conversation
Following #3965 (comment), I suggest that we use the name
|
To clarify this PoC, it took me 15 minutes to assemble. I'd really like to see a single downstream which would use this, or some other part of So I'd really like to see realistic experiments where this - I want to see existential motivation, not vague "it would be nice". To be clear: I don't think this is good idea either. Public multi-libs is better idea, when |
It'll be a while until we can use multilibs, the |
Isn't splitting Cabal something we can only reasonably do when there are no need to use Custom setups?
…Sent from my iPhone
On 1 Aug 2018, at 2.23, Mikhail Glushenkov ***@***.***> wrote:
Following #3965 (comment), I suggest that we use the name cabal-lib-solver instead of cabal-solver. Then eventually we will have:
cabal-lib for the pure parts of current lib:Cabal
cabal-lib-build for the build system bits
cabal-lib-solver for the cabal-install's solver
cabal for what is currently cabal-install
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
On concrete use-cases, I have a couple of day-one candidates:
Less concretely or with less great benefit:
|
Re: packages with custom setups, they must update setup-depends anyway for the new release, and we can also add a compatibility shim lib:Cabal that re-exports cabal-lib and cabal-lib-build with a deprecation warning. |
Also, we have #2771 on the roadmap; which is intended in combination with Parsing the
Currently, but there's some ideas on the table to improve this; but they certainly don't require to be able to "render" cabal.project files; what you're doing now is merely a stopgap solution, so hardly a long-term justification. |
https://github.com/phadej/darkmatter/blob/master/src/DarkMatter.hs renders
It's "ad-hoc" approach, but very robust one. EDIT I don't remember why I didn't yet made a PR to EDIT2: Note that |
We have |
PoC