Resolving dependencies... Configuring mtl-2.2.1... Configuring text-1.2.2.1... Building text-1.2.2.1... Building mtl-2.2.1... Installed mtl-2.2.1 Installed text-1.2.2.1 Configuring parsec-3.1.11... Building parsec-3.1.11... Installed parsec-3.1.11 Downloading scan-0.1.0.0... Configuring scan-0.1.0.0... Building scan-0.1.0.0... Failed to install scan-0.1.0.0 Build log ( /home/builder/.cabal/logs/scan-0.1.0.0.log ): cabal: Entering directory '/tmp/cabal-tmp-24984/scan-0.1.0.0' Configuring scan-0.1.0.0... Building scan-0.1.0.0... Preprocessing executable 'scan' for scan-0.1.0.0... [1 of 1] Compiling Main ( src/scan.hs, dist/build/scan/scan-tmp/Main.o ) src/scan.hs:24:1: error: Failed to load interface for ‘Language.Haskell.Scanner’ Perhaps you meant Language.Haskell.TH.Ppr (needs flag -package-key template-haskell-2.11.0.0) Use -v to see a list of the files searched for. cabal: Leaving directory '/tmp/cabal-tmp-24984/scan-0.1.0.0' cabal: Error: some packages failed to install: scan-0.1.0.0 failed during the building phase. The exception was: ExitFailure 1