Commit a3ed4679 authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel 🕺
Browse files

Mention `--index-state` in changelog & cabal manual

[skip ci]
parent f10b7a28
......@@ -2274,6 +2274,15 @@ The ``get`` command supports the following options:
Fork the package's source repository using the appropriate version
control system. The optional argument allows to choose a specific
repository kind.
``--index-state`` *[HEAD\|@<unix-timestamp>\|<iso8601-utc-timestamp>]*
Use source package index state as it existed at a previous time. Accepts
unix-timestamps (e.g. ``@1474732068``), ISO8601 UTC timestamps (e.g.
``2016-09-24T17:47:48Z``), or ``HEAD`` (default).
This determines which package versions are available as well as which
``.cabal`` file revision is selected (unless ``--pristine`` is used).
``--pristine``
Unpack the original pristine tarball, rather than updating the
``.cabal`` file with the latest revision from the package archive.
Custom setup scripts
--------------------
......
......@@ -24,6 +24,8 @@
'.../$pkgid.log' to '.../$compiler/$libname.log' (#3807).
* Added a new command, 'cabal reconfigure', which re-runs 'configure'
with the most recently used flags (#2214).
* Added add the '--index-state' flag for requesting a specific
version of the package index (#3893, #4115).
* Support for building Backpack packages. See
https://github.com/ezyang/ghc-proposals/blob/backpack/proposals/0000-backpack.rst
for more details.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment