patch applied (cabal-install): Make the install code collect some detail on the reasons for package failure