I am trying to write a plugin but am having the problem where the ghc package want transformers 0.5.6.2 but the package I want the plugin to modify requires 0.6.1.1.
Since, the compiled plugin objects do not intermix with the compiled project objects it seems like this should not actually be a conflict. Is there a way to resolve this?
Doesn’t this problem basically make all plugins unusable?
Not unusable, but plugins add a lot of constraints. I wrote about this just yesterday in About GHC's stability in 2024 (close to the end). You may try to use the -fplugin-library workaround.