Make install error more visible

This commit is contained in:
Julian Ospald 2023-11-12 15:59:15 +08:00
parent 8644ca41e1
commit 0d91c2ac14
No known key found for this signature in database
GPG Key ID: 4275CDA6A29BED43

View File

@ -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