From fee5dc9553d75392a138311d527bdcdca218b9bc Mon Sep 17 00:00:00 2001 From: Pepe Iborra Date: Mon, 18 May 2020 10:19:58 +0100 Subject: [PATCH] Update exe/Rules.hs Co-authored-by: Moritz Kiefer --- exe/Rules.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exe/Rules.hs b/exe/Rules.hs index a7359e948..a075dcaea 100644 --- a/exe/Rules.hs +++ b/exe/Rules.hs @@ -119,7 +119,7 @@ createSession (ComponentOptions theOpts _) = do -- - version mismatches case installationCheck of InstallationNotFound{..} -> - error $ "GHC installation not found in libdir: " <> libdir + fail $ "GHC installation not found in libdir: " <> libdir InstallationMismatch{..} -> return GhcVersionMismatch{..} InstallationChecked installationVersion ghcLibCheck ->