Skip to content

Commit

Permalink
Mark plugins as not buildable if the flag is disabled (#4160)
Browse files Browse the repository at this point in the history
* Mark plugins as not buildable if the flag is disabled

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.

* Stick to no space after flag for consistency
  • Loading branch information
michaelpj authored Apr 6, 2024
1 parent 7f5f3b4 commit 097d990
Showing 1 changed file with 114 additions and 5 deletions.
Loading

0 comments on commit 097d990

Please sign in to comment.