Skip to content

Commit 5a87bc7

Browse files
committed
add paragraph mentioning stackage
1 parent f6863c0 commit 5a87bc7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/cabal-project-description-file.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,13 @@ architecture and version information from, which will force some
8585
commands (update, sdist) to require ghc present where otherwise it
8686
would not be necessitated.
8787

88+
One use case for imports is to specify a `Stackage <https://www.stackage.org/>`
89+
snapshot, so that your cabal project can use the same set of packages as
90+
that snapshot. To use the ``lts-21.25`` resolver, you can write
91+
``import: https://www.stackage.org/lts-21.25/cabal.config`` in your
92+
``cabal.project``. Note that Stackage does not gurantee that these will work
93+
with regards to revisions.
94+
8895
Specifying the local packages
8996
-----------------------------
9097

0 commit comments

Comments
 (0)