Skip to content

Commit

Permalink
Say something about hackage deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
philderbeast committed Nov 7, 2023
1 parent 95e7cbd commit 9a0505f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/cabal-package-description-file.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1493,6 +1493,13 @@ system-dependent values for these fields.
``base-4.13`` and with later GHC versions, then we can use ``time >=1.12
&& (time <1.12.3 || time >1.12.3)``.

Hackage shows deprecated and preferred versions for packages, such as for
`containers <https://hackage.haskell.org/package/containers/preferred>`_
and `aeson <https://hackage.haskell.org/package/aeson/preferred>`_ for
example. Deprecating package versions is not the same deprecating a
package as a whole, for which hackage keeps a `deprecated packages list
<https://hackage.haskell.org/packages/deprecated>`_.

If no version constraint is specified, any version is assumed to be
acceptable. For example:

Expand Down

0 comments on commit 9a0505f

Please sign in to comment.