Resolving dependencies... Configuring GenericPretty-1.2.1... Building 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... Failed to install template-haskell-util-0.1.0.3 Build log ( /home/builder/.cabal/logs/template-haskell-util-0.1.0.3.log ): cabal: Entering directory '/tmp/cabal-tmp-15202/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... [1 of 1] Compiling Language.Haskell.TH.Utils ( src/Language/Haskell/TH/Utils.hs, dist/build/Language/Haskell/TH/Utils.o ) src/Language/Haskell/TH/Utils.hs:44:1: error: Failed to load interface for ‘GHC.Types’ It is a member of the hidden package ‘ghc-prim-0.5.0.0’. 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. cabal: Leaving directory '/tmp/cabal-tmp-15202/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