Resolving dependencies... Configuring xorshift-1... Building xorshift-1... Failed to install xorshift-1 Build log ( /home/builder/.cabal/logs/xorshift-1.log ): cabal: Entering directory '/tmp/cabal-tmp-5739/xorshift-1' Warning: xorshift.cabal: Unknown fields: build-depends (line 14) 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 xorshift-1... Building xorshift-1... Preprocessing library xorshift-1... [1 of 1] Compiling Random.Xorshift ( src/Random/Xorshift.hs, dist/build/Random/Xorshift.o ) src/Random/Xorshift.hs:27: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. src/Random/Xorshift.hs:42:1: error: Failed to load interface for ‘Data.Int’ 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. src/Random/Xorshift.hs:43:1: error: Failed to load interface for ‘Data.Bits’ 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. src/Random/Xorshift.hs:44:1: error: Failed to load interface for ‘System.Random’ Use -v to see a list of the files searched for. src/Random/Xorshift.hs:45:1: error: Failed to load interface for ‘Data.Time’ It is a member of the hidden package ‘time-1.6.0.1’. Perhaps you need to add ‘time’ 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-5739/xorshift-1' cabal: Error: some packages failed to install: xorshift-1 failed during the building phase. The exception was: ExitFailure 1