@@ -234,10 +234,14 @@ docker rmi $(docker images -q)
234234
235235but `docker pull commercialhaskell/stackage:nightly` can also be run instead just to update the nightly image say.
236236
237−For a new GHC version you should also delete the cache directories on the stackage-build server to
238−force all packages to be rebuilt. See: [issue#746](https://github.com/commercialhaskell/stackage/issues/746). Eg:
237+For a new GHC version you should also delete the ~~cache~~ .stack-work snapshot install directories on the stackage-build server to
238+~~force all packages to be rebuilt~~ clear up some space. See: [issue#746](https://github.com/commercialhaskell/stackage/issues/746). Eg:
239+
239240```
240−rm -r nightly/work/builds/nightly/
241+# for example
242+SNAP_SERIES=nightly # or lts16
243+OLD_GHCVER=8.10.1
244+rm -r work/$SNAP_SERIES/unpack-dir/.stack-work/install/x86_64-linux/*/$OLD_GHCVER/
241245```
242246This should also be done when moving the Nightly docker image to a new version of Ubuntu.
243247