Resolving dependencies... Configuring mtl-2.2.1... Building mtl-2.2.1... Installed mtl-2.2.1 Configuring regex-base-0.93.2... Building regex-base-0.93.2... Installed regex-base-0.93.2 Configuring regex-posix-0.95.2... Building regex-posix-0.95.2... Installed regex-posix-0.95.2 Configuring regex-compat-0.95.1... Building regex-compat-0.95.1... Installed regex-compat-0.95.1 Configuring lhs2tex-1.13... Failed to install lhs2tex-1.13 Build log ( /home/builder/.cabal/logs/lhs2tex-1.13.log ): cabal: Entering directory '/tmp/cabal-tmp-22566/lhs2tex-1.13' cabal: Leaving directory '/tmp/cabal-tmp-22566/lhs2tex-1.13' cabal: Error: some packages failed to install: lhs2tex-1.13 failed during the configure step. The exception was: user error ('/opt/ghc/8.0.2/bin/ghc' exited with an error: /tmp/cabal-tmp-22566/lhs2tex-1.13/dist/setup/setup.hs:7:49: error: Module ‘Distribution.Simple.LocalBuildInfo’ does not export ‘mkDataDir’ /tmp/cabal-tmp-22566/lhs2tex-1.13/dist/setup/setup.hs:9:64: error: Module ‘Distribution.PackageDescription’ does not export ‘setupMessage’ /tmp/cabal-tmp-22566/lhs2tex-1.13/dist/setup/setup.hs:26:25: error: Module ‘System.IO.Error’ does not export ‘try’ )