>> Step 1 - configuring happy-1.16 Setup.lhs:19:58: Couldn't match expected type `()' against inferred type `ExitCode' Expected type: Args -> BuildFlags -> PackageDescription -> LocalBuildInfo -> IO () Inferred type: Args -> BuildFlags -> PackageDescription -> LocalBuildInfo -> IO ExitCode In the `postBuild' field of a record In the first argument of `defaultMainWithHooks', namely `defaultUserHooks {postBuild = myPostBuild, postClean = myPostClean, postCopy = myPostCopy, postInst = myPostInstall}' >> Terminated due to an error.