cabal-install calls setup with unrecognised distpref flag

José Pedro Magalhães jpm at cs.uu.nl
Tue Aug 19 05:37:07 EDT 2008


Hello all,

I decided to bring this to libraries at haskell.org too in case anyone had the
same problem before.


Cheers,
Pedro

On Wed, Aug 6, 2008 at 11:38, José Pedro Magalhães <jpm at cs.uu.nl> wrote:

> Hello all,
>
> Recently, while developing a package here in the group, we changed the
> build-type from "Simple" to "Custom" to allow for "cabal test". The Setup.hs
> simply calls defaultMainWithHooks with simpleUserHooks where runTests has
> been redefined.
>
> The problem is that this change gives me the following error when invoking
> "cabal build" (after invoking "cabal configure"):
> setup.exe: Unrecognised flags:
>  --distpref=dist
>
> runhaskell Setup.hs build works fine, though. This happens on a win64
> machine, cabal-install version 0.5.1 using version 1.4.0.1 of the library.
> On a mac there seem to be no problems, though.
>
> Am I doing something wrong?
>
>
> Thanks,
> Pedro
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/cabal-devel/attachments/20080819/44236630/attachment.htm


More information about the cabal-devel mailing list