Resolving dependencies... Configuring logfloat-0.8.1... Failed to install logfloat-0.8.1 Build log ( /home/builder/.cabal/logs/logfloat-0.8.1.log ): cabal: Entering directory '/tmp/cabal-tmp-6760/logfloat-0.8.1' cabal: Leaving directory '/tmp/cabal-tmp-6760/logfloat-0.8.1' cabal: Error: some packages failed to install: logfloat-0.8.1 failed during the configure step. The exception was: user error ('/opt/ghc/8.0.2/bin/ghc' exited with an error: /tmp/cabal-tmp-6760/logfloat-0.8.1/dist/setup/setup.hs:18:22: error: • Couldn't match type ‘()’ with ‘Maybe LocalBuildInfo’ 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}’ In the expression: defaultMainWithHooks (defaultUserHooks {preHaddock = preHaddockScript, postClean = postCleanScript}) )