cabal-install-3.12.1.0: The command-line interface for Cabal and Hackage.
Copyright(c) David Himmelstrup 2005
Duncan Coutts 2011
LicenseBSD-like
Maintainercabal-devel@gmail.com
Stabilityprovisional
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Distribution.Client.Freeze

Description

The cabal freeze command

Synopsis

Documentation

freeze :: Verbosity -> PackageDBStack -> RepoContext -> Compiler -> Platform -> ProgramDb -> GlobalFlags -> FreezeFlags -> IO () Source #

Freeze all of the dependencies by writing a constraints section constraining each dependency to an exact version.

getFreezePkgs :: Verbosity -> PackageDBStack -> RepoContext -> Compiler -> Platform -> ProgramDb -> GlobalFlags -> FreezeFlags -> IO [SolverPlanPackage] Source #

Get the list of packages whose versions would be frozen by the freeze command.