Resolving dependencies... Downloading integer-pure-1.0... Configuring integer-pure-1.0... Building integer-pure-1.0... Preprocessing library integer-pure-1.0... Data/Integer.hs:22:18: Could not find module `Data.Ratio' 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 `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 integer-pure-1.0 cabal: Error: some packages failed to install: integer-pure-1.0 failed during the building phase. The exception was: ExitFailure 1