Skip to content

Commit a813ab9

Browse files
authored
Merge pull request commercialhaskell#6623 from commercialhaskell/fix6621
Fix commercialhaskell#6621 Remove Haddock style comments
2 parents 9231015 + ea0bc10 commit a813ab9

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

ChangeLog.md

+4
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ Other enhancements:
1414

1515
Bug fixes:
1616

17+
* Fix a regression, introduced in Stack 2.15.7, that caused GHC 8.10.7 or
18+
earlier to fail to build a package with a `Custom` build type, if GHC option
19+
`-haddock` was specified.
20+
1721
## v3.1.1 - 2024-07-05
1822

1923
Release notes:

src/setup-shim/StackSetupShim.hs

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33

44
module StackSetupShim where
55

6-
-- | Stack no longer supports Cabal < 2.2 and, consequently, GHC versions before
6+
-- Stack no longer supports Cabal < 2.2 and, consequently, GHC versions before
77
-- GHC 8.4 or base < 4.11.0.0. Consequently, we do not need to test for the
88
-- existence of the MIN_VERSION_Cabal macro (provided from GHC 8.0).
99

1010
import Data.List ( stripPrefix )
1111
import Distribution.ReadE ( ReadE (..) )
1212
import Distribution.Simple.Configure ( getPersistBuildConfig )
13-
-- | Temporary, can be removed if initialBuildSteps restored to Cabal's API.
13+
-- Temporary, can be removed if initialBuildSteps restored to Cabal's API.
1414
#if MIN_VERSION_Cabal(3,11,0)
1515
import Distribution.Simple.Build ( writeBuiltinAutogenFiles )
1616
#else
@@ -19,7 +19,7 @@ import Distribution.Simple.Build ( initialBuildSteps )
1919
#if MIN_VERSION_Cabal(3,11,0)
2020
import Distribution.Simple.Errors ( exceptionMessage )
2121
#endif
22-
-- | Temporary, can be removed if initialBuildSteps restored to Cabal's API.
22+
-- Temporary, can be removed if initialBuildSteps restored to Cabal's API.
2323
#if MIN_VERSION_Cabal(3,11,0)
2424
import Distribution.Simple.LocalBuildInfo
2525
( componentBuildDir, withAllComponentsInBuildOrder )
@@ -41,7 +41,7 @@ import Distribution.Types.GenericPackageDescription
4141
import "Cabal" Distribution.Types.GenericPackageDescription
4242
( GenericPackageDescription (..) )
4343
#endif
44-
-- | Temporary, can be removed if initialBuildSteps restored to Cabal's API.
44+
-- Temporary, can be removed if initialBuildSteps restored to Cabal's API.
4545
#if MIN_VERSION_Cabal(3,11,0)
4646
import Distribution.Types.ComponentLocalBuildInfo ( ComponentLocalBuildInfo )
4747
import Distribution.Types.LocalBuildInfo ( LocalBuildInfo )

0 commit comments

Comments
 (0)