filepath broken with Cabal 1.1.6
ndmitchell at gmail.com
Fri Apr 20 12:41:12 EDT 2007
Someone on IRC suggested that removing the type signature is all that
is required to make it work once more.
On 4/20/07, Neil Mitchell <ndmitchell at gmail.com> wrote:
> For users of Cabal 1.1.6, the currently checked in filepath Setup.hs
> script won't work - it gives:
> >runghc Setup.hs configure
> 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
> Can this be fixed? I know the Setup.hs only really serves GHC's
> purposes, and I think its Ian's work. I also think its possibly the
> same for other packages? It would be a shame if we make everyone
> upgrade to have a libary which we've not put in base so they can
> upgrade it separately...
More information about the Libraries