Resolving dependencies... Configuring GenericPretty-1.2.1... Building GenericPretty-1.2.1... Preprocessing library GenericPretty-1.2.1... [1 of 1] Compiling Text.PrettyPrint.GenericPretty ( Text/PrettyPrint/GenericPretty.hs, dist/build/Text/PrettyPrint/GenericPretty.o ) In-place registering GenericPretty-1.2.1... Running Haddock for GenericPretty-1.2.1... Running hscolour for GenericPretty-1.2.1... Preprocessing library GenericPretty-1.2.1... Preprocessing library GenericPretty-1.2.1... Haddock coverage: 100% ( 12 / 12) in 'Text.PrettyPrint.GenericPretty' Warning: Text.PrettyPrint.GenericPretty: could not find link destinations for: Text.PrettyPrint.GenericPretty.out1 Text.PrettyPrint.GenericPretty.isNullary Documentation created: dist/doc/html/GenericPretty/index.html, dist/doc/html/GenericPretty/GenericPretty.txt Creating package registration file: /tmp/pkgConf-GenericPretty-1.218349.1 Installing library in /home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-7.8.3/GenericPretty-1.2.1 Registering GenericPretty-1.2.1... Installed GenericPretty-1.2.1 Downloading template-haskell-util-0.1.0.3... Configuring template-haskell-util-0.1.0.3... Building template-haskell-util-0.1.0.3... Preprocessing library template-haskell-util-0.1.0.3... src/Language/Haskell/TH/Utils.hs:44:8: Could not find module ‘GHC.Types’ It is a member of the hidden package ‘ghc-prim’. Perhaps you need to add ‘ghc-prim’ to the build-depends in your .cabal file. Use -v to see a list of the files searched for. Failed to install template-haskell-util-0.1.0.3 cabal: Error: some packages failed to install: template-haskell-util-0.1.0.3 failed during the building phase. The exception was: ExitFailure 1