Resolving dependencies... Configuring mtl-2.2.1... Building mtl-2.2.1... Installed mtl-2.2.1 Configuring llvm-base-3.2.0.0... Failed to install llvm-base-3.2.0.0 Build log ( /home/builder/.cabal/logs/llvm-base-3.2.0.0.log ): cabal: Entering directory '/tmp/cabal-tmp-29034/llvm-base-3.2.0.0' cabal: Leaving directory '/tmp/cabal-tmp-29034/llvm-base-3.2.0.0' cabal: Error: some packages failed to install: llvm-base-3.2.0.0 failed during the configure step. The exception was: user error ('/opt/ghc/8.0.2/bin/ghc' exited with an error: /tmp/cabal-tmp-29034/llvm-base-3.2.0.0/dist/setup/setup.hs:87:36: error: Not in scope: ‘libraryConfig’ )