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 _______________________________________________ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell