Stack setup fails with resource exhausted


#1

I’m trying to setup a workspace for Haskell development using the stack tool. I add the PPA then install stack which works fine, but running stack setup fails installing GHC with “resource exhausted”. I checked and I’m not out of diskspace - any other resource constraint that may apply in this environment?

ghc-cabal:
/home/ubuntu/.stack/programs/x86_64-linux/ghc-7.10.3/lib/ghc-7.10.3/base_HQfYBxpPvuw8OunzQu6JGM/.copyFile2139842053722633179.tmp:
resource exhausted
make[1]: *** [install_packages] Error 1
make: *** [install] Error 2