Skip to content

Commit

Permalink
Explain why an older cabal-version is used
Browse files Browse the repository at this point in the history
  • Loading branch information
fgaz committed May 31, 2021
1 parent a39d590 commit 7457d2f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ Once you have an empty directory we can initialize our package:
$ cabal init --cabal-version=2.4 --license=NONE -p myfirstapp
.. note:: ``cabal-version`` refers to the
`version of the .cabal file format specification <file-format-changelog.html>`__,
that can be different from the versions of the cabal library and tool
in use. It is common to use a slightly older cabal-version, to strike
a compromise between feature availability and backward compatibility.

This will generate the following files:

.. code-block:: console
Expand Down

0 comments on commit 7457d2f

Please sign in to comment.