Glassglow Haskell Compiler (GHC) Loading Problem

I run into this alert when I try to load the GHC, see snip.

[ Error ] BuildFailed failed in dir /tmp/ghcup-370d999d36f501e7: Process “make” with arguments [“install”] failed with exit code 2.
[ … ] Check the logs at /home/codynova/.ghcup/logs and the build directory /tmp/ghcup-370d999d36f501e7 for more clues.
[ … ] Make sure to clean up /tmp/ghcup-370d999d36f501e7 afterwards.

I’m relatively sure I need to increase the size of my temp folder to allow for a 160G. Can any body show me how to fix this issue?

Thanks for any tips you may have.

Check out https://www.haskell.org/ghcup/guide/#env-variables

You can set a bash alias to something like:

alias ghcup='TMPDIR=/home/codynova/.ghcup-tmp ghcup'

And then run an initial mkdir /home/codynova/.ghcup-tmp.

1 Like