Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Fix error message if outdated cabal dependency #1361

Merged
merged 1 commit into from
Aug 18, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix error message if outdated cabal dependency
  • Loading branch information
fendor committed Aug 17, 2019
commit 36a5eb6dfc18593f8aab5515a5b7fbea1851ba4a
2 changes: 1 addition & 1 deletion install/src/Cabal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ checkCabal = do
cabalVersion <- getCabalVersion
unless (checkVersion requiredCabalVersion cabalVersion) $ do
printInStars $ cabalInstallIsOldFailMsg cabalVersion
error $ stackExeIsOldFailMsg cabalVersion
error $ cabalInstallIsOldFailMsg cabalVersion

getCabalVersion :: Action String
getCabalVersion = trimmedStdout <$> execCabal ["--numeric-version"]
Expand Down