From 7ddd09a4862c98dd7115e78d762511dbe1d26e68 Mon Sep 17 00:00:00 2001 From: Daniel Gröber Date: Mon, 16 Sep 2019 21:23:23 +0200 Subject: ghc-session: Remove "stack not installed by CI scripts" error We include the correct stack version in the CI images now and since the relevant stack version is now released it is easy to install for devs. --- tests/GhcSession.hs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'tests') diff --git a/tests/GhcSession.hs b/tests/GhcSession.hs index e8eeaa4..e4ae431 100644 --- a/tests/GhcSession.hs +++ b/tests/GhcSession.hs @@ -539,13 +539,7 @@ stackBuiltinCabalVersion s_ver g_ver = do stackCheckCompat :: Version -> Version -> Either SkipReason () stackCheckCompat s_ver g_ver = if| s_ver < parseVer "1.9.4" -> - if| g_ver >= parseVer "8.2.2" -> - error $ printf - "stack-%s is too old, but GHC %s is recent enough to build it.\n\ - \The CI scripts should have installed it! See 25-deps.sh\n" - (showVersion s_ver) (showVersion g_ver) - | otherwise -> - Left $ SkipReason $ "stack-" ++ showVersion s_ver ++ " is too old" + Left $ SkipReason $ "stack-" ++ showVersion s_ver ++ " is too old" | otherwise -> Right () -- cgit v1.2.3