Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Conditionally omit
TemplateHaskell
from set of supported extensions
This emulates what GHC>=8 will do on its own for older GHC versions. This is particularly useful in combination with #2644 allowing the solver to toggle flags depending on the availability of `-XTemplateHaskell`. For instance, cross-compilers and/or unregisterised GHC builds often don't have TemplateHaskell support. Having support for toggling flags based on availability of `-XTemplateHaskell` allows `cabal` to support such environments with less manual intervention.
- Loading branch information