cabal-install-3.12.1.0: The command-line interface for Cabal and Hackage.

Safe Haskell | None
Language | Haskell2010

Distribution.Client.CmdInstall.ClientInstallFlags

# Documentation

data InstallMethod #

Constructors

InstallMethodCopy |
InstallMethodSymlink |

#### Instances

Instances details

Parsec InstallMethod # |
Instance details Defined in Distribution.Client.Types.InstallMethod Methods parsec :: CabalParsing m => m InstallMethod #
Pretty InstallMethod # |
Instance details Defined in Distribution.Client.Types.InstallMethod Methods pretty :: InstallMethod -> Doc # prettyVersioned :: CabalSpecVersion -> InstallMethod -> Doc #
Structured InstallMethod # |
Instance details Defined in Distribution.Client.Types.InstallMethod Methods structure :: Proxy InstallMethod -> Structure # structureHash' :: Tagged InstallMethod MD5
Binary InstallMethod # |
Instance details Defined in Distribution.Client.Types.InstallMethod Methods put :: InstallMethod -> Put # get :: Get InstallMethod # putList :: [InstallMethod] -> Put #
Semigroup InstallMethod # | Last
Instance details Defined in Distribution.Client.Types.InstallMethod Methods (<>) :: InstallMethod -> InstallMethod -> InstallMethod # sconcat :: NonEmpty InstallMethod -> InstallMethod # stimes :: Integral b => b -> InstallMethod -> InstallMethod #
Bounded InstallMethod # |
Instance details Defined in Distribution.Client.Types.InstallMethod Methods minBound :: InstallMethod # maxBound :: InstallMethod #
Enum InstallMethod # |
Instance details Defined in Distribution.Client.Types.InstallMethod Methods succ :: InstallMethod -> InstallMethod # pred :: InstallMethod -> InstallMethod # toEnum :: Int -> InstallMethod # fromEnum :: InstallMethod -> Int # enumFrom :: InstallMethod -> [InstallMethod] # enumFromThen :: InstallMethod -> InstallMethod -> [InstallMethod] # enumFromTo :: InstallMethod -> InstallMethod -> [InstallMethod] # enumFromThenTo :: InstallMethod -> InstallMethod -> InstallMethod -> [InstallMethod] #
Generic InstallMethod # |
Instance details Defined in Distribution.Client.Types.InstallMethod Associated Types
type Rep InstallMethod |
Instance details Defined in Distribution.Client.Types.InstallMethod type Rep InstallMethod = D1 ('MetaData "InstallMethod" "Distribution.Client.Types.InstallMethod" "cabal-install-3.12.1.0-G554PkJj2SpDqyarXp9tbt" 'False) (C1 ('MetaCons "InstallMethodCopy" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "InstallMethodSymlink" 'PrefixI 'False) (U1 :: Type -> Type))
Methods from :: InstallMethod -> Rep InstallMethod x # to :: Rep InstallMethod x -> InstallMethod #
Show InstallMethod # |
Instance details Defined in Distribution.Client.Types.InstallMethod Methods showsPrec :: Int -> InstallMethod -> ShowS # show :: InstallMethod -> String # showList :: [InstallMethod] -> ShowS #
Eq InstallMethod # |
Instance details Defined in Distribution.Client.Types.InstallMethod Methods (==) :: InstallMethod -> InstallMethod -> Bool # (/=) :: InstallMethod -> InstallMethod -> Bool #
type Rep InstallMethod # |
Instance details Defined in Distribution.Client.Types.InstallMethod type Rep InstallMethod = D1 ('MetaData "InstallMethod" "Distribution.Client.Types.InstallMethod" "cabal-install-3.12.1.0-G554PkJj2SpDqyarXp9tbt" 'False) (C1 ('MetaCons "InstallMethodCopy" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "InstallMethodSymlink" 'PrefixI 'False) (U1 :: Type -> Type))

data ClientInstallFlags #

Constructors

ClientInstallFlags |
Fields cinstInstallLibs :: Flag Bool cinstEnvironmentPath :: Flag FilePath cinstOverwritePolicy :: Flag OverwritePolicy cinstInstallMethod :: Flag InstallMethod cinstInstalldir :: Flag FilePath

#### Instances

Instances details

Structured ClientInstallFlags # |
Instance details Defined in Distribution.Client.CmdInstall.ClientInstallFlags Methods structure :: Proxy ClientInstallFlags -> Structure # structureHash' :: Tagged ClientInstallFlags MD5
Binary ClientInstallFlags # |
Instance details Defined in Distribution.Client.CmdInstall.ClientInstallFlags Methods put :: ClientInstallFlags -> Put # get :: Get ClientInstallFlags # putList :: [ClientInstallFlags] -> Put #
Monoid ClientInstallFlags # |
Instance details Defined in Distribution.Client.CmdInstall.ClientInstallFlags Methods mempty :: ClientInstallFlags # mappend :: ClientInstallFlags -> ClientInstallFlags -> ClientInstallFlags # mconcat :: [ClientInstallFlags] -> ClientInstallFlags #
Semigroup ClientInstallFlags # |
Instance details Defined in Distribution.Client.CmdInstall.ClientInstallFlags Methods (<>) :: ClientInstallFlags -> ClientInstallFlags -> ClientInstallFlags # sconcat :: NonEmpty ClientInstallFlags -> ClientInstallFlags # stimes :: Integral b => b -> ClientInstallFlags -> ClientInstallFlags #
Generic ClientInstallFlags # |
Instance details Defined in Distribution.Client.CmdInstall.ClientInstallFlags Associated Types
type Rep ClientInstallFlags |
Instance details Defined in Distribution.Client.CmdInstall.ClientInstallFlags type Rep ClientInstallFlags = D1 ('MetaData "ClientInstallFlags" "Distribution.Client.CmdInstall.ClientInstallFlags" "cabal-install-3.12.1.0-G554PkJj2SpDqyarXp9tbt" 'False) (C1 ('MetaCons "ClientInstallFlags" 'PrefixI 'True) ((S1 ('MetaSel ('Just "cinstInstallLibs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Flag Bool)) :*: S1 ('MetaSel ('Just "cinstEnvironmentPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Flag FilePath))) :*: (S1 ('MetaSel ('Just "cinstOverwritePolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Flag OverwritePolicy)) :*: (S1 ('MetaSel ('Just "cinstInstallMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Flag InstallMethod)) :*: S1 ('MetaSel ('Just "cinstInstalldir") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Flag FilePath))))))
Methods from :: ClientInstallFlags -> Rep ClientInstallFlags x # to :: Rep ClientInstallFlags x -> ClientInstallFlags #
Show ClientInstallFlags # |
Instance details Defined in Distribution.Client.CmdInstall.ClientInstallFlags Methods showsPrec :: Int -> ClientInstallFlags -> ShowS # show :: ClientInstallFlags -> String # showList :: [ClientInstallFlags] -> ShowS #
Eq ClientInstallFlags # |
Instance details Defined in Distribution.Client.CmdInstall.ClientInstallFlags Methods (==) :: ClientInstallFlags -> ClientInstallFlags -> Bool # (/=) :: ClientInstallFlags -> ClientInstallFlags -> Bool #
type Rep ClientInstallFlags # |
Instance details Defined in Distribution.Client.CmdInstall.ClientInstallFlags type Rep ClientInstallFlags = D1 ('MetaData "ClientInstallFlags" "Distribution.Client.CmdInstall.ClientInstallFlags" "cabal-install-3.12.1.0-G554PkJj2SpDqyarXp9tbt" 'False) (C1 ('MetaCons "ClientInstallFlags" 'PrefixI 'True) ((S1 ('MetaSel ('Just "cinstInstallLibs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Flag Bool)) :*: S1 ('MetaSel ('Just "cinstEnvironmentPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Flag FilePath))) :*: (S1 ('MetaSel ('Just "cinstOverwritePolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Flag OverwritePolicy)) :*: (S1 ('MetaSel ('Just "cinstInstallMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Flag InstallMethod)) :*: S1 ('MetaSel ('Just "cinstInstalldir") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Flag FilePath))))))

defaultClientInstallFlags :: ClientInstallFlags #

clientInstallOptions :: ShowOrParseArgs -> [OptionField ClientInstallFlags] #