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

Commit 36a5eb6

Browse files
committed
Fix error message if outdated cabal dependency
1 parent 3421a0e commit 36a5eb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/src/Cabal.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ checkCabal = do
7272
cabalVersion <- getCabalVersion
7373
unless (checkVersion requiredCabalVersion cabalVersion) $ do
7474
printInStars $ cabalInstallIsOldFailMsg cabalVersion
75-
error $ stackExeIsOldFailMsg cabalVersion
75+
error $ cabalInstallIsOldFailMsg cabalVersion
7676

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

0 commit comments

Comments
 (0)