[Haskell-cafe] Cabal has trouble with projects that have both src and lib directories?

Ketil Malde ketil at malde.org
Fri Aug 15 01:42:26 EDT 2008

"Nicholas Andrews" <noandrews at gmail.com> writes:

> $ runhaskell blah.cabal configure

blah.cabal isn't a Haskell file, you need a file Setup.hs that you can
'runhaskell'.  Setup.hs need only contain the following three lines:

#!/usr/bin/env runhaskell
import Distribution.Simple
main = defaultMain

If I haven't seen further, it is by standing in the footprints of giants

More information about the Haskell-Cafe mailing list