From 6e3b48f8045d93bdf0340b5778dc84cfd05382be Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 26 Dec 2020 17:22:31 +0800 Subject: [PATCH] CURATORS: missing diskspace After updating Nightly from 8.10.2 to 8.10.3, I had to remove the old stack builds under the previous ghc Cabal version which were taking up a lot of space (~96GB) --- CURATORS.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CURATORS.md b/CURATORS.md index d6325c89..847515d8 100644 --- a/CURATORS.md +++ b/CURATORS.md @@ -344,7 +344,9 @@ LTS minor bumps typically are run on Sundays. * You can detect the problem by running `df`. If you see that `/` is out of space, we have a problem. * If you see that `/var/stackage/` is out of space, you can: - * run `./etc/diskspace/clean-old-stack-libs.sh [nightly|lts-XX]` (hopefully sufficient) + * run `./etc/diskspace/clean-old-stack-libs.sh [nightly|lts-XX]` + * If that is insufficient then remove all the old builds under the previous ghc/Cabal version: + * `rm -r /var/stackage/stackage/automated/work/[nightly|lts-XX]/unpack-dir/unpacked/*/.stack-work/dist/x86_64-linux/Cabal-X.Y.0.0/` optionally (not recommended?): * `rm -r /var/stackage/stackage/automated/work/lts*/unpack-dir/unpacked/`