HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulecabal-install-3.12.1.0Haskell2010

Distribution.Client.Types.Repo

  • 3 types
  • 6 values

Remote repository

2 declarations
datadata RemoteRepo
#

Constructors

  • RemoteRepo
    • remoteRepoName :: RepoName
    • remoteRepoURI :: URI
    • remoteRepoSecure :: Maybe Bool

      Enable 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 :: Int

      Threshold for verification during bootstrapping

    • remoteRepoShouldTryHttps :: Bool

      Normally 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, …

Local repository (no-index)

3 declarations
datadata LocalRepo
#
Instances9Eq, Ord, Show, Generic, Binary, Parsec, …

Repository

4 declarations
datadata Repo
#

Different kinds of repositories

NOTE: It is important that this type remains serializable.

Constructors

Instances7Eq, Ord, Show, Generic, Binary, Structured, …