Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .typos-docs.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
extend-exclude = [
"changelog.d/pr-11501.md",
"changelog.d/pr-11602.md",
"changelog.d/pr-11621.md",
]

[default]
Expand Down
1 change: 0 additions & 1 deletion .typos-srcs.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,3 @@ fo = "fo"
nto = "nto" # nto-qnx operating system
dows = "dows" # win-dows
bimap = "bimap"
explitic = "explitic"
2 changes: 1 addition & 1 deletion Cabal/src/Distribution/PackageDescription/Check.hs
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ checkPackageDescription
( isNothing setupBuildInfo_
&& buildTypeRaw_ == Just Custom
)
(PackageDistSuspiciousWarn CVExpliticDepsCustomSetup)
(PackageDistSuspiciousWarn CVExplicitDepsCustomSetup)
checkP
(isNothing buildTypeRaw_ && specVersion_ < CabalSpecV2_2)
(PackageBuildWarning NoBuildType)
Expand Down
10 changes: 5 additions & 5 deletions Cabal/src/Distribution/PackageDescription/Check/Warning.hs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ data CheckExplanation
| CVSourceRepository
| CVExtensions CabalSpecVersion [Extension]
| CVCustomSetup
| CVExpliticDepsCustomSetup
| CVExplicitDepsCustomSetup
| CVAutogenPaths
| CVAutogenPackageInfo
| CVAutogenPackageInfoGuard
Expand Down Expand Up @@ -411,7 +411,7 @@ data CheckExplanationID
| CICVSourceRepository
| CICVExtensions
| CICVCustomSetup
| CICVExpliticDepsCustomSetup
| CICVExplicitDepsCustomSetup
| CICVAutogenPaths
| CICVAutogenPackageInfo
| CICVAutogenPackageInfoGuard
Expand Down Expand Up @@ -557,7 +557,7 @@ checkExplanationId (CVVirtualModules{}) = CICVVirtualModules
checkExplanationId (CVSourceRepository{}) = CICVSourceRepository
checkExplanationId (CVExtensions{}) = CICVExtensions
checkExplanationId (CVCustomSetup{}) = CICVCustomSetup
checkExplanationId (CVExpliticDepsCustomSetup{}) = CICVExpliticDepsCustomSetup
checkExplanationId (CVExplicitDepsCustomSetup{}) = CICVExplicitDepsCustomSetup
checkExplanationId (CVAutogenPaths{}) = CICVAutogenPaths
checkExplanationId (CVAutogenPackageInfo{}) = CICVAutogenPackageInfo
checkExplanationId (CVAutogenPackageInfoGuard{}) = CICVAutogenPackageInfoGuard
Expand Down Expand Up @@ -710,7 +710,7 @@ ppCheckExplanationId CICVVirtualModules = "virtual-modules"
ppCheckExplanationId CICVSourceRepository = "source-repository"
ppCheckExplanationId CICVExtensions = "incompatible-extension"
ppCheckExplanationId CICVCustomSetup = "no-setup-depends"
ppCheckExplanationId CICVExpliticDepsCustomSetup = "dependencies-setup"
ppCheckExplanationId CICVExplicitDepsCustomSetup = "dependencies-setup"
ppCheckExplanationId CICVAutogenPaths = "no-autogen-paths"
ppCheckExplanationId CICVAutogenPackageInfo = "no-autogen-pinfo"
ppCheckExplanationId CICVAutogenPackageInfoGuard = "autogen-guard"
Expand Down Expand Up @@ -1249,7 +1249,7 @@ ppExplanation CVCustomSetup =
++ "that specifies the dependencies of the Setup.hs script itself. "
++ "The 'setup-depends' field uses the same syntax as 'build-depends', "
++ "so a simple example would be 'setup-depends: base, Cabal'."
ppExplanation CVExpliticDepsCustomSetup =
ppExplanation CVExplicitDepsCustomSetup =
"From version 1.24 cabal supports specifying explicit dependencies "
++ "for Custom setup scripts. Consider using 'cabal-version: 1.24' or "
++ "higher and adding a 'custom-setup' section with a 'setup-depends' "
Expand Down
8 changes: 8 additions & 0 deletions changelog.d/pr-11621.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
synopsis: Fix typos explitic
packages: [Cabal]
prs: 11621
---

Changes `CheckExplanation` constructor `CVExpliticDepsCustomSetup` and
`CheckExplanationID` constructor `CICVExpliticDepsCustomSetup`.
Loading