[Haskell-cafe] make "cabal repl" run a custom preprocessor before loading

Johan Tibell johan.tibell at gmail.com
Thu May 15 11:59:21 UTC 2014

Hi Markus,

On Thu, May 15, 2014 at 1:54 PM, Markus Läll <markus.l2ll at gmail.com> wrote:

> The case is that I have a package with an executable and a library. The
> executable works fine with "ghc-options: -F -pgmF ./xxx.sh" in its cabal
> config section, but the library seems to ignore it when I put the same line
> into the library's section and then run "cabal repl". Also, the
> substitutions didn't happen when running GHC directly with -F and -pgmF in
> expression mode (-e).

This is probably an oversight/limitation. Please file a bug at

-- Johan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140515/0106caaf/attachment.html>

More information about the Haskell-Cafe mailing list