Skip to content

Commit d93f066

Browse files
theGhostJWjasagredomergify[bot]
authored
Make wording re manual flag more explicit (#10781)
* Update cabal-package-description-file.rst make the documentation around the ``manual`` flag a little clearer * Update cabal-package-description-file.rst update description of manual flag * Update cabal-package-description-file.rst - whitespace * Update doc/cabal-package-description-file.rst Co-authored-by: Javier Sagredo <[email protected]> --------- Co-authored-by: Javier Sagredo <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
1 parent 9b0a48c commit d93f066

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

doc/cabal-package-description-file.rst

+5-4
Original file line numberDiff line numberDiff line change
@@ -2462,10 +2462,11 @@ Configuration Flags
24622462
:default: ``False``
24632463
:since: 1.6
24642464

2465-
By default, Cabal will first try to satisfy dependencies with the
2466-
default flag value and then, if that is not possible, with the
2467-
negated value. However, if the flag is manual, then the default
2468-
value (which can be overridden by commandline flags) will be used.
2465+
By default, Cabal tries to resolve dependencies using the flag's ``default`` value.
2466+
If that fails, it tries again with the negated default value. However, if the flag is
2467+
marked as ``manual``, Cabal will only use the default value and will not retry
2468+
with the negated default. Note that the default value can still be overridden
2469+
using command-line flags.
24692470

24702471
.. _conditional-blocks:
24712472

0 commit comments

Comments
 (0)