Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
89e7c506
Unverified
Commit
89e7c506
authored
Jan 03, 2017
by
Mikhail Glushenkov
Browse files
Typos.
[ci skip]
parent
d9e44501
Changes
2
Hide whitespace changes
Inline
Side-by-side
cabal-install/Distribution/Client/Dependency.hs
View file @
89e7c506
...
...
@@ -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.
...
...
cabal-install/Distribution/Solver/Modular/Package.hs
View file @
89e7c506
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment