Open theOperand opened 4 years ago
It's possible to install hie with just cabal install
, which might be a bit leaner on disk space since it doesn't download another version of GHC and uses the system GHC.
Also, when #1068 is implemented, it should be possible to not have compiler artifacts on the system. But I dont expect this to be implemented in the next release unless someone pushes it. However, maybe it will be implemented in the relase after that.
When installing HIE from the AUR on Arch Linux, the build process generates many build artifacts that are not included in the package in the
~/.stack
directory.Even when HIE is installed only for the system's own GHC version, the directory is almost 5 GB in size, which includes two seemingly redundant copies of GHC (the same verison of GHC as I already have installed) and a sqlite database which is itself over 700 megabytes in size.
This makes this package one of the largest packages on my system and makes it difficult to justify using HIE, as I only have 256 GB of storage (not an unusual amount now that many laptops come with only an SSD), not all of which is available to Arch because of my Windows dual-boot, and I imagine I am far from the only one in a situation like this.
Would it be possible to use the system-provided GHC, or at least prune some of this disk space after building the package?