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

Safe Haskell | None
Language | Haskell2010

Distribution.Client.Types.WriteGhcEnvironmentFilesPolicy

Synopsis

- data WriteGhcEnvironmentFilesPolicy
  - = AlwaysWriteGhcEnvironmentFiles
  - | NeverWriteGhcEnvironmentFiles
  - | WriteGhcEnvironmentFilesOnlyForGhc844AndNewer

# Documentation

data WriteGhcEnvironmentFilesPolicy #

Whether 'v2-build' should write a .ghc.environment file after success. Possible values: `always`, `never` (the default), 'ghc8.4.4+' (8.4.4 is the earliest version that supports '-package-env -').

Constructors

AlwaysWriteGhcEnvironmentFiles |
NeverWriteGhcEnvironmentFiles |
WriteGhcEnvironmentFilesOnlyForGhc844AndNewer |

#### Instances

Instances details

Structured WriteGhcEnvironmentFilesPolicy # |
Instance details Defined in Distribution.Client.Types.WriteGhcEnvironmentFilesPolicy Methods structure :: Proxy WriteGhcEnvironmentFilesPolicy -> Structure # structureHash' :: Tagged WriteGhcEnvironmentFilesPolicy MD5
Bounded WriteGhcEnvironmentFilesPolicy # |
Instance details Defined in Distribution.Client.Types.WriteGhcEnvironmentFilesPolicy Methods minBound :: WriteGhcEnvironmentFilesPolicy # maxBound :: WriteGhcEnvironmentFilesPolicy #
Enum WriteGhcEnvironmentFilesPolicy # |

Instance details

Defined in Distribution.Client.Types.WriteGhcEnvironmentFilesPolicy

Methods

succ :: WriteGhcEnvironmentFilesPolicy -> WriteGhcEnvironmentFilesPolicy #

pred :: WriteGhcEnvironmentFilesPolicy -> WriteGhcEnvironmentFilesPolicy #

toEnum :: Int -> WriteGhcEnvironmentFilesPolicy #

fromEnum :: WriteGhcEnvironmentFilesPolicy -> Int #

enumFrom :: WriteGhcEnvironmentFilesPolicy -> [WriteGhcEnvironmentFilesPolicy] #

enumFromThen :: WriteGhcEnvironmentFilesPolicy -> WriteGhcEnvironmentFilesPolicy -> [WriteGhcEnvironmentFilesPolicy] #

enumFromTo :: WriteGhcEnvironmentFilesPolicy -> WriteGhcEnvironmentFilesPolicy -> [WriteGhcEnvironmentFilesPolicy] #

enumFromThenTo :: WriteGhcEnvironmentFilesPolicy -> WriteGhcEnvironmentFilesPolicy -> WriteGhcEnvironmentFilesPolicy -> [WriteGhcEnvironmentFilesPolicy] #

Generic WriteGhcEnvironmentFilesPolicy # |

Instance details

Defined in Distribution.Client.Types.WriteGhcEnvironmentFilesPolicy

Associated Types

type Rep WriteGhcEnvironmentFilesPolicy |

Instance details

Defined in Distribution.Client.Types.WriteGhcEnvironmentFilesPolicy

type Rep WriteGhcEnvironmentFilesPolicy = D1 ('MetaData "WriteGhcEnvironmentFilesPolicy" "Distribution.Client.Types.WriteGhcEnvironmentFilesPolicy" "cabal-install-3.10.2.1-EH6AEtqwlbKE3rh89dIk81" 'False) (C1 ('MetaCons "AlwaysWriteGhcEnvironmentFiles" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "NeverWriteGhcEnvironmentFiles" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WriteGhcEnvironmentFilesOnlyForGhc844AndNewer" 'PrefixI 'False) (U1 :: Type -> Type)))

Methods

from :: WriteGhcEnvironmentFilesPolicy -> Rep WriteGhcEnvironmentFilesPolicy x #

to :: Rep WriteGhcEnvironmentFilesPolicy x -> WriteGhcEnvironmentFilesPolicy #

Show WriteGhcEnvironmentFilesPolicy # |
Instance details Defined in Distribution.Client.Types.WriteGhcEnvironmentFilesPolicy Methods showsPrec :: Int -> WriteGhcEnvironmentFilesPolicy -> ShowS # show :: WriteGhcEnvironmentFilesPolicy -> String # showList :: [WriteGhcEnvironmentFilesPolicy] -> ShowS #
Binary WriteGhcEnvironmentFilesPolicy # |
Instance details Defined in Distribution.Client.Types.WriteGhcEnvironmentFilesPolicy Methods put :: WriteGhcEnvironmentFilesPolicy -> Put # get :: Get WriteGhcEnvironmentFilesPolicy # putList :: [WriteGhcEnvironmentFilesPolicy] -> Put #
Eq WriteGhcEnvironmentFilesPolicy # |
Instance details Defined in Distribution.Client.Types.WriteGhcEnvironmentFilesPolicy Methods (==) :: WriteGhcEnvironmentFilesPolicy -> WriteGhcEnvironmentFilesPolicy -> Bool # (/=) :: WriteGhcEnvironmentFilesPolicy -> WriteGhcEnvironmentFilesPolicy -> Bool #
type Rep WriteGhcEnvironmentFilesPolicy # |

Instance details

Defined in Distribution.Client.Types.WriteGhcEnvironmentFilesPolicy

type Rep WriteGhcEnvironmentFilesPolicy = D1 ('MetaData "WriteGhcEnvironmentFilesPolicy" "Distribution.Client.Types.WriteGhcEnvironmentFilesPolicy" "cabal-install-3.10.2.1-EH6AEtqwlbKE3rh89dIk81" 'False) (C1 ('MetaCons "AlwaysWriteGhcEnvironmentFiles" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "NeverWriteGhcEnvironmentFiles" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WriteGhcEnvironmentFilesOnlyForGhc844AndNewer" 'PrefixI 'False) (U1 :: Type -> Type)))