Resolving dependencies... Downloading logfloat-0.8.1... [1 of 1] Compiling Main ( /tmp/logfloat-0.8.1-14902/logfloat-0.8.1/dist/setup/setup.hs, /tmp/logfloat-0.8.1-14902/logfloat-0.8.1/dist/setup/Main.o ) /tmp/logfloat-0.8.1-14902/logfloat-0.8.1/dist/setup/setup.hs:18:22: Couldn't match type ‘Maybe LocalBuildInfo’ with ‘()’ Expected type: Args -> CleanFlags -> PackageDescription -> () -> IO () Actual type: Args -> CleanFlags -> PackageDescription -> Maybe LocalBuildInfo -> IO () In the ‘postClean’ field of a record In the first argument of ‘defaultMainWithHooks’, namely ‘defaultUserHooks {preHaddock = preHaddockScript, postClean = postCleanScript}’ Failed to install logfloat-0.8.1 cabal: Error: some packages failed to install: logfloat-0.8.1 failed during the configure step. The exception was: ExitFailure 1