From 4960ad92c4464e862bd30e1b867d9353f5866461 Mon Sep 17 00:00:00 2001 From: Phil de Joux Date: Mon, 11 Nov 2024 20:42:11 -0500 Subject: [PATCH] Don't repeat intro, "Configuration is affected by the following files" --- cabal-install/src/Distribution/Client/ProjectPlanning.hs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/cabal-install/src/Distribution/Client/ProjectPlanning.hs b/cabal-install/src/Distribution/Client/ProjectPlanning.hs index a0a978bd634..1ad71de6040 100644 --- a/cabal-install/src/Distribution/Client/ProjectPlanning.hs +++ b/cabal-install/src/Distribution/Client/ProjectPlanning.hs @@ -397,11 +397,9 @@ rebuildProjectConfig localPackages <- phaseReadLocalPackages (projectConfig <> cliConfig) return (projectConfig, localPackages) - sequence_ - [ do - notice verbosity . render . vcat $ - text "Configuration is affected by the following files:" - : [text "-" <+> docProjectConfigPath path] + notice verbosity . render . vcat $ + text "Configuration is affected by the following files:" : + [ text "-" <+> docProjectConfigPath path | Explicit path <- Set.toList $ projectConfigProvenance projectConfig ]