ndmitchell at gmail.com
Fri Aug 18 09:58:46 EDT 2006
> Preprocessing library Foo-0.1...
> setup: trhxs not found, cannot process: Foo.xhs
Hmm, I built a minimal project (attached), and it didn't work. Am I
doing something wrong? I'm using a freshly compiled Cabal and GHC
> Yes. My suggestion was incomplete. I think the right way to do this
> is (when using Simple):
> * hook configure-step a bit:
> You should be able to simply append your program description into
> ConfigFlags.configPrograms and call the default hook.
> * that will append it into LocalBuildInfo.withPrograms
> * add the preprocessor to userhooks, but rather than finding executable
> at that point, take it from LocalBuildInfo.withPrograms
That seems much better, once I have this preprocessor working
basically, I'll try and follow that pattern.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1137 bytes
Desc: not available
Url : http://www.haskell.org//pipermail/libraries/attachments/20060818/489ad813/test-preprocess.zip
More information about the Libraries