Resolving dependencies... Configuring sparsecheck-0.1.0.1... Building sparsecheck-0.1.0.1... Failed to install sparsecheck-0.1.0.1 Build log ( /home/builder/.cabal/logs/sparsecheck-0.1.0.1.log ): cabal: Entering directory '/tmp/cabal-tmp-24450/sparsecheck-0.1.0.1' Warning: sparsecheck.cabal: Unknown fields: build-depends (line 6) Fields allowed in this section: name, version, cabal-version, build-type, license, license-file, license-files, copyright, maintainer, stability, homepage, package-url, bug-reports, synopsis, description, category, author, tested-with, data-files, data-dir, extra-source-files, extra-tmp-files, extra-doc-files Configuring sparsecheck-0.1.0.1... Building sparsecheck-0.1.0.1... Preprocessing library sparsecheck-0.1.0.1... [1 of 1] Compiling SparseCheck ( SparseCheck.hs, dist/build/SparseCheck.o ) SparseCheck.hs:6:8: error: Failed to load interface for ‘Prelude’ It is a member of the hidden package ‘base-4.9.0.0’. Perhaps you need to add ‘base’ to the build-depends in your .cabal file. Use -v to see a list of the files searched for. SparseCheck.hs:8:1: error: Failed to load interface for ‘Control.Monad’ It is a member of the hidden package ‘base-4.9.0.0’. Perhaps you need to add ‘base’ to the build-depends in your .cabal file. Use -v to see a list of the files searched for. SparseCheck.hs:9:1: error: Failed to load interface for ‘Data.Maybe’ It is a member of the hidden package ‘base-4.9.0.0’. Perhaps you need to add ‘base’ to the build-depends in your .cabal file. Use -v to see a list of the files searched for. SparseCheck.hs:10:1: error: Failed to load interface for ‘Data.IntMap’ It is a member of the hidden package ‘containers-0.5.7.1’. Perhaps you need to add ‘containers’ 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-24450/sparsecheck-0.1.0.1' cabal: Error: some packages failed to install: sparsecheck-0.1.0.1 failed during the building phase. The exception was: ExitFailure 1