Create ~/.ghcup dir on start

This commit is contained in:
Julian Ospald 2020-03-17 18:39:51 +01:00
parent ee570c024c
commit 9c7d17800d
1 changed files with 4 additions and 0 deletions

View File

@ -588,6 +588,10 @@ main = do
, DownloadFailed
]
-- create ~/.ghcup dir
ghcdir <- ghcupBaseDir
createDirIfMissing newDirPerms ghcdir
dls <-
( runLogger
. flip runReaderT settings