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