-
Notifications
You must be signed in to change notification settings - Fork 722
Open
Description
When I am building and testing a plugin project, I can just add the plug-in library to dependency of the executable I am testing in the project, and add -fplugin
to the ghc-options
and things work.
If I (v2) install the plugin library I can't find a way of easily getting hold of it in other projects. Adding it to the dependencies of the other project helps, but
- I can't seem to find a way of applying the plugin-in to only the exposed modules, and not the build-depends.
- As well as
-fplugin
I seem to have to add-package
to even get that far, as otherwise the package / plugin is reported as hidden.
I have looked through some of the earlier issues, but did not find a solution.
Is there an example or further documentation anywhere that might provide some pointers?
Many thanks.