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

Nicholas Andrews noandrews at gmail.com
Fri Aug 15 10:40:32 EDT 2008


Sorry, I meant runhaskell Setup.hs <configure|build>. To clarify, I DO
have a Setup.hs, and am getting the error in my original post when
running it.

On Fri, Aug 15, 2008 at 1:42 AM, Ketil Malde <ketil at malde.org> wrote:
> "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
>
> -k
> --
> If I haven't seen further, it is by standing in the footprints of giants
>


More information about the Haskell-Cafe mailing list