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

Mark plugins as not buildable if the flag is disabled #4160

Merged
merged 3 commits into from Apr 6, 2024

Conversation

michaelpj
Copy link
Collaborator

This ensures that cabal does not consider them at all, and won't try to solve for their dependencies. So if we turn off the fourmolu plugin, cabal really won't consider fourmolu at all.

This gets us some of the benefits of #4156 with much less work.

Fixes #4100.

@michaelpj michaelpj requested review from jhrcek and fendor April 6, 2024 11:00
Copy link
Collaborator

@jhrcek jhrcek left a comment

Choose a reason for hiding this comment

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

Looks good, just..

haskell-language-server.cabal Outdated Show resolved Hide resolved
This ensures that cabal does not consider them at all, and won't try to
solve for their dependencies. So if we turn off the fourmolu plugin, cabal
really won't consider fourmolu at all.

This gets us some of the benefits of #4156 with much less work.

Fixes #4100.
@fendor fendor enabled auto-merge (squash) April 6, 2024 14:13
@fendor fendor merged commit 097d990 into master Apr 6, 2024
39 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.

Merged plugins pull in disabled deps when building with Setup.hs
3 participants