Skip to content
← Back to Community
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 [...]
Voters
Profile icon
Dufaer
Profile icon
MarkGritter
Profile icon
Adrian_Hendraw1
Profile icon
maueroats
Comments
hotnewtop
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"
Profile icon
mollthecoder

Replit limits the amount of megabytes you can store in one repl and it appears this package exceeds it.

Profile icon
maueroats

@mollthecoder Not surprisingly. But this is one of the standard languages offered. Using the out-of-the-box setup. It should work.

Profile icon
mollthecoder

@maueroats if you want to use this language without any issues you can always contact [email protected] and have a conversation with them.

Profile icon
mollthecoder

@maueroats Additionally it looks like if you upgrade to hacker it should work properly.

Profile icon
maueroats

@mollthecoder Thanks, that's helpful info.
edit: I can't tell if this is confirmed. It would be even more helpful to know for sure it works at the hacker level. At one point my local stack install was like 9GB, so I worry it might not.