Use internal tmpdir

This commit is contained in:
2022-05-20 23:19:33 +02:00
parent c9e1261af2
commit df89ddcdf5
16 changed files with 210 additions and 176 deletions

View File

@@ -2029,6 +2029,7 @@ rmGhcupDirs = do
, cacheDir
, recycleDir
, dbDir
, tmpDir
} <- getDirs
let envFilePath = fromGHCupPath baseDir </> "env"
@@ -2040,6 +2041,7 @@ rmGhcupDirs = do
-- for xdg dirs, the order matters here
handleRm $ rmPathForcibly logsDir
handleRm $ rmPathForcibly tmpDir
handleRm $ rmPathForcibly cacheDir
handleRm $ rmBinDir binDir