mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-01-11 23:08:30 +01:00
etc/diskspace: fix handling of x86_64-linux-tinfo6-libc6-pre232
[skip ci]
This commit is contained in:
parent
7369901a8c
commit
e9b705d346
@ -83,8 +83,9 @@ cleanStackWorkPackages =
|
||||
getCurrentDirectory >>= putStrLn
|
||||
pkgs <- listDirectory "."
|
||||
forM_ pkgs $ \pkg -> do
|
||||
withCurrentDirectory $ pkg </> ".stack-work/dist/x86_64-linux-tinfo6"
|
||||
$ withOneDirectory_ -- "Cabal-3.8.1.0"
|
||||
withCurrentDirectory $ pkg </> ".stack-work/dist"
|
||||
$ withOneDirectory_ -- "x86_64-linux-tinfo6*"
|
||||
$ withOneDirectory_ -- "Cabal-*"
|
||||
$ withCurrentDirectory "build" $ do
|
||||
ls <- sort <$> listDirectory "."
|
||||
files <- filterM doesFileExist ls
|
||||
|
||||
Loading…
Reference in New Issue
Block a user