Remove hard-coded reference to "cabal"

Fixes #407.
This commit is contained in:
taylorfausak 2022-08-22 19:35:38 +00:00
parent 14de382129
commit 63dfdc2da6
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ data AlreadyInstalled = AlreadyInstalled Tool Version
instance Pretty AlreadyInstalled where
pPrint (AlreadyInstalled tool ver') =
(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 "'")
<+> text "if you really want to reinstall it, you may want to run 'ghcup install " <+> pPrint tool <+> " --force" <+> (pPrint ver' <> text "'")
-- | The Directory is supposed to be empty, but wasn't.