[Haskell] Building extra-libs
Ian Lynagh
igloo at earth.li
Fri Jun 8 14:04:01 EDT 2007
On Mon, Jun 04, 2007 at 08:53:41PM +0100, bft wrote:
>
> I want to build and install some extralibs using Cabal. I have the
> Cabal-1.1.6.2 version installed.
> When I run the command
> $ runghc Setup.hs configure --ghc --user --prefix=$HOME
> it fails with the message
> Setup.hs:17:30:
> Couldn't match expected type `UserHooks'
> against inferred type `Maybe UserHooks'
> Expected type: Hook a
> Inferred type: PackageDescription
> -> LocalBuildInfo
> -> Maybe UserHooks
> -> BuildFlags
> -> IO ()
> In the second argument of `($)', namely
> `buildHook defaultUserHooks'
> In the `buildHook' field of a record
>
> How can I fixe this bug ?
Commenting out the type signature for add_ghc_options in Setup.hs should
fix it.
Thanks
Ian
More information about the Haskell
mailing list