Determines to what packages and in what contexts a constraint applies.
Constructors
ScopeTarget PackageNameA scope that applies when the given package is used as a build target. In other words, the scope applies iff a goal has a top-level qualifier and its namespace matches the given package name. A namespace is considered to match a package name when it is either the default namespace (for --no-independent-goals) or it is an independent namespace with the given package name (for --independent-goals).
ScopeQualified Qualifier PackageNameThe package with the specified name and qualifier.
ScopeAnySetupQualifier PackageNameThe package with the specified name when it has a setup qualifier.
ScopeAnyQualifier PackageNameThe package with the specified name regardless of qualifier.
Instances2Eq, Show
Eq ConstraintScopeDefined in cabal-install-solver-3.12.1.0 · Distribution.Solver.Types.PackageConstraintShow ConstraintScopeDefined in cabal-install-solver-3.12.1.0 · Distribution.Solver.Types.PackageConstraint