Commit 3c56430e authored by Moritz Angermann's avatar Moritz Angermann

Adds documentation.

parent b3af0bab
......@@ -291,6 +291,20 @@ to happen if a flag actually applied to every transitive dependency). To
apply options to an external package, use a ``package`` stanza in a
``cabal.project`` file.
cabal new-update
----------------
``cabal new-update`` updates the state of the package index. If the
project contains multiple remote package repositories it will update
the index of all of them (e.g. when using overlays).
Seom examples:
::
$ cabal new-update # update all remote repos
$ cabal new-update head.hackage # update only head.hackage
cabal new-build
---------------
......
-*-change-log-*-
2.2.0.0 (current development version)
* Completed the 'new-update' command (#4809), which respects nix-style
cabal.project(.local) files and allows to update from
multiple repositories when using overlays.
* New config file field: 'cxx-options' to specify which options to be
passed to the compiler when compiling C++ sources specified by the
'cxx-sources' field. (#3700)
......
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