+++ Ondřej Grover [Oct 22 12 23:38 ]:
> Thank you for confirming that it's not abnormal.
> Still, I'd like to investigate what could I do to get around it. I see
> these alternatives:
> 1) Directly patch the gitit source and integrate my plugins
This would certainly work, but it makes it harder to keep up with
updates.
> 2) Patch only Plugins.hs and remove "import ghc" and in gitit.conf and
> put smth like Network.Gitit.MyPlugin which would be a compiled module
> which would have linked only necessary libs.
> Could approach no. 2 work?
> If something like that could work, I propose an enhancement (perhaps I
> could even write a patch for it) that there would be two compile
> options : --compiled-plugins and --interpreted plugins, the former
> would not link full ghc and import only compiled modules, the latter
> would link ghc and interpret them
I believe the ghc module is needed even to load compiled modules.
A third option would be to change the plugin system so that plugins
are executable programs (filters for json-serialized pandoc documents),
or, better, add a parallel "filters" system.
John