[Haskell-cafe] How to use cabal's data-files feature and run in-place?

Max Rabkin max.rabkin at gmail.com
Fri Apr 22 09:23:32 CEST 2011


On Fri, Apr 22, 2011 at 03:46, Richard Cobbe <cobbe at ccs.neu.edu> wrote:
> Unfortunately, that's not happening.  Cabal is clearly generating the
> module; I can see it in dist/build/autogen.  But my copy is overriding the
> autogenerated one, even for cabal builds -- at least, that's what I'm
> seeing when I run the binary out of dist/build/<package>/<executable>.

I'm no Cabal expert, but the first thing I'd try is to leave your copy
out of  the list of included files in the Cabal file.

--Max



More information about the Haskell-Cafe mailing list