This repository was archived by the owner on Oct 7, 2020. It is now read-only.
This repository was archived by the owner on Oct 7, 2020. It is now read-only.
Possible to use additional ghc-option "-fplugin=X"? #1264
Closed
Description
My current issue: I'm working on code that uses Polysemy, which uses a custom plugin to drive some type inference. This is usually enabled by adding -fplugin=Polysemy.Plugin
to ghc-options section of cabal file; see https://github.com/isovector/polysemy/tree/master/polysemy-plugin.
However, it looks like when HIE is running through my IDE (currently VSCode), it's not using this plugin ghc-options
override so I see compile errors in my IDE even though there aren't any when compiling through command line.
Is there a way to specify additional GHC options like this custom plugin when interfacing with HIE?