Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
Cabal
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Glasgow Haskell Compiler
Packages
Cabal
Commits
57f5a7f8
Unverified
Commit
57f5a7f8
authored
3 years ago
by
Mikolaj Konarski
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #6474 from hanshoglund/patch-2
[ci skip] Update installing-packages.rst
parents
067bb430
193ea342
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/installing-packages.rst
+10
-6
10 additions, 6 deletions
doc/installing-packages.rst
with
10 additions
and
6 deletions
doc/installing-packages.rst
+
10
−
6
View file @
57f5a7f8
...
...
@@ -105,14 +105,18 @@ packages from any of them.
Using secure repositories
^^^^^^^^^^^^^^^^^^^^^^^^^
For repositories that support the TUF security infrastructure (this
includes Hackage), you can enable secure access to the repository by
specifying:
When interacting with ``hackage.haskell.org``, Cabal always runs in secure mode
with standard root keys, so it is not necessary to specify ``secure`` or
``root-keys``. If no repositories are listed, Cabal will default to
``hackage.haskell.org``.
For non-Hackage repositories that support the TUF security infrastructure you
can enable secure access to the repository by specifying:
::
repository
h
ackage
.haskell
.org
url: http://
h
ackage
.haskell
.org/
repository
p
ackage
s.example
.org
url: http://
p
ackage
s.example
.org/
secure: True
root-keys: <root-key-IDs>
key-threshold: <key-threshold>
...
...
@@ -272,4 +276,4 @@ dependencies in a single step. To do this, run:
To browse the list of available packages, visit the `Hackage`_ web site.
.. _Hackage: https://hackage.haskell.org/
\ No newline at end of file
.. _Hackage: https://hackage.haskell.org/
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment