From 0d91c2ac145c9daeb3080bf285f381a5d1ccffa1 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sun, 12 Nov 2023 15:59:15 +0800 Subject: [PATCH] Make install error more visible --- lib/GHCup/Errors.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/GHCup/Errors.hs b/lib/GHCup/Errors.hs index 367b23a..4ea2953 100644 --- a/lib/GHCup/Errors.hs +++ b/lib/GHCup/Errors.hs @@ -724,7 +724,7 @@ data InstallSetError = forall xs1 xs2 . (Show (V xs1), Pretty (V xs1), HFErrorPr instance Pretty InstallSetError where pPrint (InstallSetError reason1 reason2) = - text "Both installation and setting the tool failed. Install error was:" + text "Both installation and setting the tool failed.\nInstall error was:" <+> pPrint reason1 <+> text "\nSet error was:" <+> pPrint reason2