diff --git a/etc/diskspace/clean-old-stack-libs.sh b/etc/diskspace/clean-old-stack-libs.sh index 1d306b3d..e63044f9 100755 --- a/etc/diskspace/clean-old-stack-libs.sh +++ b/etc/diskspace/clean-old-stack-libs.sh @@ -7,6 +7,7 @@ if [ $# != 1 ]; then exit 1 fi -pushd ~/stackage/automated/work/$1/unpack-dir/.stack-work/install/x86_64-linux/*/*/lib/x86_64-linux-ghc-* +cd ~/stackage/automated/work/$1/unpack-dir/.stack-work/install/x86_64-linux/*/*/lib/x86_64-linux-ghc-* +pwd -stack --resolver lts-14 script ~/stackage/etc/diskspace/remove-old-stack-work-libs.hs +stack --resolver lts-14.27 script ~/stackage/etc/diskspace/remove-old-stack-work-libs.hs