Skip to content

Commit b7cc326

Browse files
authored
Merge pull request #9975 from cabalism/doc/no-command-line-source-repository-package
Add "no command line variant" for `source-repository-package`.
2 parents 3b4b3e1 + 8615619 commit b7cc326

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

doc/cabal-project-description-file.rst

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,14 @@ consider during package retrieval. This allows use of a package from a
216216
remote version control system, rather than looking for that package in
217217
Hackage.
218218

219+
Since version 3.4, cabal-install creates tarballs for each package coming from a
220+
``source-repository-package`` stanza (effectively applying cabal sdists to such
221+
packages). It gathers the names of the packages from the appropriate ``.cabal``
222+
file in the version control repository, and allows their use just like Hackage
223+
or locally defined packages.
224+
225+
There is no command line variant of this stanza.
226+
219227
.. code-block:: cabal
220228
221229
packages: .
@@ -237,12 +245,6 @@ Hackage.
237245
tag: e76fdc753e660dfa615af6c8b6a2ad9ddf6afe70
238246
post-checkout-command: autoreconf -i
239247
240-
Since version 3.4, cabal-install creates tarballs for each package coming
241-
from a ``source-repository-package`` stanza (effectively applying cabal
242-
sdists to such packages). It gathers the names of the packages from the
243-
appropriate ``.cabal`` file in the version control repository, and allows
244-
their use just like Hackage or locally defined packages.
245-
246248
.. _source-repository-package-fields:
247249

248250
The :ref:`VCS fields<vcs-fields>` of ``source-repository-package`` are:

0 commit comments

Comments
 (0)