Create ~/.ghcup dir on start

This commit is contained in:
Julian Ospald 2020-03-17 18:39:51 +01:00
parent ee570c024c
commit 9c7d17800d

View File

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