Unverified Commit 89e7c506 authored by Mikhail Glushenkov's avatar Mikhail Glushenkov
Browse files

Typos.

[ci skip]
parent d9e44501
......@@ -467,7 +467,7 @@ addDefaultSetupDependencies defaultSetupDeps params =
gpkgdesc = packageDescription srcpkg
pkgdesc = PD.packageDescription gpkgdesc
-- | There If a package has a custom setup then we need to add a setup-depends
-- | If a package has a custom setup then we need to add a setup-depends
-- on Cabal. For now it's easier to add this unconditionally. Once
-- qualified constraints land we can turn this into a custom setup
-- only constraint.
......
......@@ -93,9 +93,9 @@ primaryPP (PackagePath _ns q) = go q
go (Setup _) = False
go (Exe _ _) = False
-- | Is the package a dependency of a setup script. This is used establish
-- whether or not certain constraints should apply to this dependency
-- (grep 'setupPP' to see the use sites).
-- | Is the package a dependency of a setup script. This is used to
-- establish whether or not certain constraints should apply to this
-- dependency (grep 'setupPP' to see the use sites).
--
setupPP :: PackagePath -> Bool
setupPP (PackagePath _ns (Setup _)) = True
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment