[Haskell] Building extra-libs
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-184.108.40.206 version installed.
> When I run the command
> $ runghc Setup.hs configure --ghc --user --prefix=$HOME
> it fails with the message
> 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
More information about the Haskell