I'm following chapter 13.3 of "Haskell Programming from First Principles"
and working on stack build
but fail with below error message as below. I'm doing on my MBP terminal with current Stack version: 1.3.2 installed, . Any solution for a way out? (I'm currently working with very slow wifi environment. I'm not sure whether stack build fails because of bad connectivity.)
$ stack build
Updating package index Hackage (mirrored at
https://github.com/commercialhaskell/all-cabal-hashes.git) ...
Long Pause Here... almost 10 minutes.
Running /usr/bin/git clone https://github.com/commercialhaskell/all-cabal-hashes.git all-cabal-hashes/ -b display in directory /Users/Sleepyleo/.stack/indices/Hackage/git-update/ exited with ExitFailure 128
Cloning into 'all-cabal-hashes'...
error: RPC failed; curl 56 SSLRead() return error -9806
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed