Constructors
RemoteReporemoteRepoName :: RepoNameremoteRepoURI :: URIremoteRepoSecure :: Maybe BoolEnable secure access?
Nothing here represents "whatever the default is"; this is important to allow for a smooth transition from opt-in to opt-out security (once we switch to opt-out, all access to the central Hackage repository should be secure by default)
remoteRepoRootKeys :: [String]Root key IDs (for bootstrapping)
remoteRepoKeyThreshold :: IntThreshold for verification during bootstrapping
remoteRepoShouldTryHttps :: BoolNormally a repo just specifies an HTTP or HTTPS URI, but as a special case we may know a repo supports both and want to try HTTPS if we can, but still allow falling back to HTTP.
This field is not currently stored in the config file, but is filled in automagically for known repos.
Instances9Eq, Ord, Show, Generic, Binary, Parsec, …
Eq RemoteRepoDefined in cabal-install-3.12.1.0 · Distribution.Client.Types.RepoOrd RemoteRepoDefined in cabal-install-3.12.1.0 · Distribution.Client.Types.RepoShow RemoteRepoDefined in cabal-install-3.12.1.0 · Distribution.Client.Types.RepoGeneric RemoteRepoDefined in cabal-install-3.12.1.0 · Distribution.Client.Types.RepoBinary RemoteRepoDefined in cabal-install-3.12.1.0 · Distribution.Client.Types.RepoParsec RemoteRepoDefined in cabal-install-3.12.1.0 · Distribution.Client.Types.RepoNote: serialised format represents RemoteRepo only partially.
Pretty RemoteRepoDefined in cabal-install-3.12.1.0 · Distribution.Client.Types.RepoStructured RemoteRepoDefined in cabal-install-3.12.1.0 · Distribution.Client.Types.Repotype Rep RemoteRepo = D1 ('MetaDataDefined in cabal-install-3.12.1.0 · Distribution.Client.Types.Repo"RemoteRepo"
"Distribution.Client.Types.Repo"
"cabal-install-3.12.1.0-1D90DH9PPem9Tqn79I9vRN"
'False) (C1 ('MetaCons"RemoteRepo"
'PrefixI 'True) ((S1 ('MetaSel ('Just"remoteRepoName"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RepoName) :*: (S1 ('MetaSel ('Just"remoteRepoURI"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 URI) :*: S1 ('MetaSel ('Just"remoteRepoSecure"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)))) :*: (S1 ('MetaSel ('Just"remoteRepoRootKeys"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [String]) :*: (S1 ('MetaSel ('Just"remoteRepoKeyThreshold"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just"remoteRepoShouldTryHttps"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))))