Re: darcs patch: added cppOptions and c2hsOptions

2007-05-02 Thread Duncan Coutts
On Wed, 2007-05-02 at 00:31 +0100, Ross Paterson wrote: On Tue, May 01, 2007 at 03:45:00PM +0100, Duncan Coutts wrote: Also, I've still got the platform-independent pre-processed files going back into the src dirs. This isn't nice. The only reason I'm doing that is not to break sdist,

Re: [Haskell-cafe] Cabal, lib and exe in one

2007-05-02 Thread Simon Marlow
Duncan Coutts wrote: On Tue, 2007-05-01 at 22:29 +0100, Magnus Therning wrote: So if foo.hs is in test-src and Foo/Bar.hs is in src then I think you just need: hs-source-dirs: test-src, src No, that's not enough, I also have to add the following lines to make the executable compile and link: