Skip to content
Haskell - out of disk space on first run - any fixes?
Profile icon
maueroats

I'm unclear on the problem: is my instance size too small ("upgrade") or is this a mistake building the package?

It has been a while since I made a Haskell repl, so I can only say this has changed from about a year ago.

Anyway, definite advice on how to fix this issue is appreciated.

> stack --verbosity warn run Unpacking GHC into /home/runner/.stack/programs/x86_64-linux/ghc-tinfo6-8.10.4.temp/ ... [...] /nix/store/5bxrjkyvqmzn1p897652y3lwa9fxagpw-gnutar-1.34/bin/tar: ghc-8.10.4/libraries/text: Cannot mkdir: Disk quota exceeded /nix/store/5bxrjkyvqmzn1p897652y3lwa9fxagpw-gnutar-1.34/bin/tar: ghc-8.10.4/libraries/text/dist-install/build/Data/Text/Foreign.dyn_hi: Cannot open: No such file or directory [...]
You are viewing a single comment. View All
Profile icon
maueroats

Workaround, not invented by me:

  • Show config files

  • Edit .replit file so the run line to use a less weighty build process.

    run = "ghci src/Main.hs -e main"