• When using Stack, the ~/.stack directory is about 3.5 GB.
• The build fails when running on CI, (apparently due to an old Stack version): https://gitlab.com/Ercoin/ercoin.tech/-/jobs/72181366 .
• When fixed, the build times out after one hour of running: https://gitlab.com/Ercoin/ercoin.tech/-/jobs/72264358 .
• If cabal sandbox is used instead of Stack, another error occurs: https://github.com/bos/aeson/issues/641
@tool_man Separating binary from the rest of the site sounds like a logical solution, but it would probably mean splitting the site into two repositories and it would be rather problematic in regard to CI setup. Also Hakyll binaries contain hardcoded paths, so this separation of content from generator wouldn’t be very natural.
In the end Hakyll was replaced with Zodiac: https://capitalism.party/@KrzysiekJ/100153765452913361