Resolving dependencies... 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... src/Random/Xorshift.hs:1:1: Could not find module ‘Prelude’ It is a member of the hidden package ‘base-4.8.1.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:8: Could not find module ‘Data.Int’ It is a member of the hidden package ‘base-4.8.1.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:8: Could not find module ‘Data.Bits’ It is a member of the hidden package ‘base-4.8.1.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:8: Could not find module ‘System.Random’ Use -v to see a list of the files searched for. src/Random/Xorshift.hs:45:8: Could not find module ‘Data.Time’ It is a member of the hidden package ‘time-1.5.0.1@time_AXTdBF9VRQoBOqJT6qtmVH’. 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. Failed to install xorshift-1 cabal: Error: some packages failed to install: xorshift-1 failed during the building phase. The exception was: ExitFailure 1