Resolving dependencies... Downloading 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... src/scan.hs:24:8: Could not find module `Language.Haskell.Scanner' Perhaps you meant Language.Haskell.TH.Ppr (needs flag -package template-haskell) Use -v to see a list of the files searched for. Failed to install 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