Use ghcup's internal dir for 'ghcup run'

This commit is contained in:
2022-07-11 15:09:25 +02:00
parent b8aeb1f935
commit b6ff5bc764
2 changed files with 37 additions and 18 deletions

View File

@@ -407,6 +407,9 @@ data AppState = AppState
instance NFData AppState
fromAppState :: AppState -> LeanAppState
fromAppState AppState {..} = LeanAppState {..}
data LeanAppState = LeanAppState
{ settings :: Settings
, dirs :: Dirs