Resolving dependencies... Configuring extensible-exceptions-0.1.1.4... Configuring mtl-2.2.1... Building mtl-2.2.1... Building extensible-exceptions-0.1.1.4... Configuring utf8-string-1.0.1.1... Installed extensible-exceptions-0.1.1.4 Building utf8-string-1.0.1.1... Installed mtl-2.2.1 Configuring regex-base-0.93.2... Building regex-base-0.93.2... Installed utf8-string-1.0.1.1 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 Downloading lhs2tex-1.15... Configuring lhs2tex-1.15... Failed to install lhs2tex-1.15 Build log ( /home/builder/.cabal/logs/lhs2tex-1.15.log ): cabal: Entering directory '/tmp/cabal-tmp-9420/lhs2tex-1.15' cabal: Leaving directory '/tmp/cabal-tmp-9420/lhs2tex-1.15' cabal: Error: some packages failed to install: lhs2tex-1.15 failed during the configure step. The exception was: user error ('/opt/ghc/8.0.2/bin/ghc' exited with an error: /tmp/cabal-tmp-9420/lhs2tex-1.15/dist/setup/setup.hs:27:25: error: Module ‘System.IO.Error’ does not export ‘try’ )