Hello
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 ?
Thanks
B. Fotsing Talla