From f9d21b6d508c70d65c6f633a55306060a92aaaee Mon Sep 17 00:00:00 2001 From: Phil de Joux Date: Sat, 28 Oct 2023 15:35:49 -0400 Subject: [PATCH 1/2] Avoid double space in "Executing install plan ..." --- cabal-install/src/Distribution/Client/ProjectBuilding.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cabal-install/src/Distribution/Client/ProjectBuilding.hs b/cabal-install/src/Distribution/Client/ProjectBuilding.hs index fa917b9f1bf..e0c97aca924 100644 --- a/cabal-install/src/Distribution/Client/ProjectBuilding.hs +++ b/cabal-install/src/Distribution/Client/ProjectBuilding.hs @@ -672,9 +672,9 @@ rebuildTargets info verbosity $ "Executing install plan " ++ case buildSettingNumJobs of - NumJobs n -> " in parallel using " ++ show n ++ " threads." - UseSem n -> " in parallel using a semaphore with " ++ show n ++ " slots." - Serial -> " serially." + NumJobs n -> "in parallel using " ++ show n ++ " threads." + UseSem n -> "in parallel using a semaphore with " ++ show n ++ " slots." + Serial -> "serially." createDirectoryIfMissingVerbose verbosity True distBuildRootDirectory createDirectoryIfMissingVerbose verbosity True distTempDirectory From 78618b60f24aa9a97a420902e93517476197eaae Mon Sep 17 00:00:00 2001 From: Phil de Joux Date: Mon, 30 Oct 2023 14:31:13 -0400 Subject: [PATCH 2/2] Add a change log entry for double space avoidance --- changelog.d/pr-9376 | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 changelog.d/pr-9376 diff --git a/changelog.d/pr-9376 b/changelog.d/pr-9376 new file mode 100644 index 00000000000..d85dc9bf49a --- /dev/null +++ b/changelog.d/pr-9376 @@ -0,0 +1,6 @@ +synopsis: Avoid a double space in "Executing install plan ..." +description: + The "Executing·install·plan··serially" and other similar "Executing install + plan··..." outputs no longer contain double spaces. +packages: cabal-install +prs: #9376 \ No newline at end of file