Merge branch 'ghcup-run-improvements'
This commit is contained in:
@@ -137,7 +137,7 @@ data AlreadyInstalled = AlreadyInstalled Tool Version
|
||||
|
||||
instance Pretty AlreadyInstalled where
|
||||
pPrint (AlreadyInstalled tool ver') =
|
||||
pPrint tool <+> text "-" <+> pPrint ver' <+> text "is already installed;"
|
||||
(pPrint tool <> text "-" <> pPrint ver') <+> text "is already installed;"
|
||||
<+> text "if you really want to reinstall it, you may want to run 'ghcup install cabal --force" <+> (pPrint ver' <> text "'")
|
||||
|
||||
|
||||
|
||||
@@ -407,6 +407,9 @@ data AppState = AppState
|
||||
|
||||
instance NFData AppState
|
||||
|
||||
fromAppState :: AppState -> LeanAppState
|
||||
fromAppState AppState {..} = LeanAppState {..}
|
||||
|
||||
data LeanAppState = LeanAppState
|
||||
{ settings :: Settings
|
||||
, dirs :: Dirs
|
||||
|
||||
Reference in New Issue
Block a user