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

Commit 51c94a4

Browse files
authored
Merge pull request #1361 from fendor/install-cabal-error-msg
Fix error message if outdated cabal dependency
2 parents 93bb4f9 + 36a5eb6 commit 51c94a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/src/Cabal.hs

+1-1
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)