wixe@thinkpad /tmp/echobot$ stack build --fast
[1 of 2] Compiling Main ( /home/wixe/.stack/setup-exe-src/setup-mPHDZzAJ.hs, /home/wixe/.stack/setup-exe-src/setup-mPHDZzAJ.o ) [Prelude changed]
/home/wixe/.stack/setup-exe-src/setup-mPHDZzAJ.hs:1:1: error:
Could not find module ‘Prelude’
There are files missing in the ‘base-4.14.1.0’ package,
try running 'ghc-pkg check'.
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
|
1 | import Distribution.Simple
| ^
/home/wixe/.stack/setup-exe-src/setup-mPHDZzAJ.hs:1:1: error:
Could not find module ‘Distribution.Simple’
There are files missing in the ‘Cabal-3.2.1.0’ package,
try running 'ghc-pkg check'.
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
|
1 | import Distribution.Simple
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
-- While building simple Setup.hs (scroll up to its section to see the error) using:
/usr/bin/ghc-8.10.4 -rtsopts -threaded -clear-package-db -global-package-db -hide-all-packages -package base -main-is StackSetupShim.mainOverride -package Cabal-3.2.1.0 /home/wixe/.stack/setup-exe-src/setup-mPHDZzAJ.hs /home/wixe/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs -o /home/wixe/.stack/setup-exe-cache/x86_64-linux/tmp-Cabal-simple_mPHDZzAJ_3.2.1.0_ghc-8.10.4
Process exited with code: ExitFailure 1
Проект не собирается с ошибкой: