Resolving dependencies... Downloading HMM-0.2.1... Configuring HMM-0.2.1... Building HMM-0.2.1... Preprocessing library HMM-0.2.1... Data/HMM.hs:1:1: Could not find module `Prelude' It is a member of the hidden package `base'. Perhaps you need to add `base' to the build-depends in your .cabal file. It is a member of the hidden package `haskell98-2.0.0.2'. Perhaps you need to add `haskell98' to the build-depends in your .cabal file. It is a member of the hidden package `haskell2010-1.1.1.0'. Perhaps you need to add `haskell2010' to the build-depends in your .cabal file. Use -v to see a list of the files searched for. Failed to install HMM-0.2.1 cabal: Error: some packages failed to install: HMM-0.2.1 failed during the building phase. The exception was: ExitFailure 1