
Hi David,
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
I guess presumably darcs version of X11 itself depends on a cabal more recent than that included in ghc 6.6?
Yes, but this error is usually caused by a type signature - not an actual problem. If there is a type signature in that Setup.hs, removing it may make it work. Otherwise upgrade to the latest Cabal. Thanks Neil