cabal-install-3.14.1.0: The command-line interface for Cabal and Hackage.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Distribution.Client.Dependency.Types

Synopsis

Documentation

data PreSolver Source #

All the solvers that can be selected.

Constructors

AlwaysModular 

Instances

Instances details
Parsec PreSolver Source # 
Instance details

Defined in Distribution.Client.Dependency.Types

Methods

parsec :: CabalParsing m => m PreSolver #

Pretty PreSolver Source # 
Instance details

Defined in Distribution.Client.Dependency.Types

Structured PreSolver Source # 
Instance details

Defined in Distribution.Client.Dependency.Types

Bounded PreSolver Source # 
Instance details

Defined in Distribution.Client.Dependency.Types

Enum PreSolver Source # 
Instance details

Defined in Distribution.Client.Dependency.Types

Generic PreSolver Source # 
Instance details

Defined in Distribution.Client.Dependency.Types

Associated Types

type Rep PreSolver :: Type -> Type #

Show PreSolver Source # 
Instance details

Defined in Distribution.Client.Dependency.Types

Binary PreSolver Source # 
Instance details

Defined in Distribution.Client.Dependency.Types

Eq PreSolver Source # 
Instance details

Defined in Distribution.Client.Dependency.Types

Ord PreSolver Source # 
Instance details

Defined in Distribution.Client.Dependency.Types

type Rep PreSolver Source # 
Instance details

Defined in Distribution.Client.Dependency.Types

type Rep PreSolver = D1 ('MetaData "PreSolver" "Distribution.Client.Dependency.Types" "cabal-install-3.14.1.0-51eXZcIgOoBJV1UViOt782" 'False) (C1 ('MetaCons "AlwaysModular" 'PrefixI 'False) (U1 :: Type -> Type))

data Solver Source #

All the solvers that can be used.

Constructors

Modular 

Instances

Instances details
Structured Solver Source # 
Instance details

Defined in Distribution.Client.Dependency.Types

Bounded Solver Source # 
Instance details

Defined in Distribution.Client.Dependency.Types

Enum Solver Source # 
Instance details

Defined in Distribution.Client.Dependency.Types

Generic Solver Source # 
Instance details

Defined in Distribution.Client.Dependency.Types

Associated Types

type Rep Solver :: Type -> Type #

Methods

from :: Solver -> Rep Solver x #

to :: Rep Solver x -> Solver #

Show Solver Source # 
Instance details

Defined in Distribution.Client.Dependency.Types

Binary Solver Source # 
Instance details

Defined in Distribution.Client.Dependency.Types

Methods

put :: Solver -> Put #

get :: Get Solver #

putList :: [Solver] -> Put #

Eq Solver Source # 
Instance details

Defined in Distribution.Client.Dependency.Types

Methods

(==) :: Solver -> Solver -> Bool #

(/=) :: Solver -> Solver -> Bool #

Ord Solver Source # 
Instance details

Defined in Distribution.Client.Dependency.Types

type Rep Solver Source # 
Instance details

Defined in Distribution.Client.Dependency.Types

type Rep Solver = D1 ('MetaData "Solver" "Distribution.Client.Dependency.Types" "cabal-install-3.14.1.0-51eXZcIgOoBJV1UViOt782" 'False) (C1 ('MetaCons "Modular" 'PrefixI 'False) (U1 :: Type -> Type))

data PackagesPreferenceDefault Source #

Global policy for all packages to say if we prefer package versions that are already installed locally or if we just prefer the latest available.

Constructors

PreferAllLatest

Always prefer the latest version irrespective of any existing installed version.

  • This is the standard policy for upgrade.
PreferAllOldest

Always prefer the oldest version irrespective of any existing installed version or packages explicitly requested.

  • This is enabled by --prefer-oldest.
PreferAllInstalled

Always prefer the installed versions over ones that would need to be installed. Secondarily, prefer latest versions (eg the latest installed version or if there are none then the latest source version).

PreferLatestForSelected

Prefer the latest version for packages that are explicitly requested but prefers the installed version for any other packages.

  • This is the standard policy for install.