Skip to content

Commit

Permalink
Update cabal-package-description-file.rst
Browse files Browse the repository at this point in the history
update description of manual flag
  • Loading branch information
theGhostJW authored Feb 6, 2025
1 parent 0dd4a0a commit 90f0fdf
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions doc/cabal-package-description-file.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2462,12 +2462,11 @@ Configuration Flags
:default: ``False``
:since: 1.6

Cabal normally tries to resolve dependencies using the flag's ``default``
value first. If that fails, it automatically retries with the negated
default value. However, if the ``manual`` flag is set to ``True``, Cabal
will not retry with the negated value, and dependency resolution will fail
if the default value doesn't work. Note that the default value can still
be overridden using command-line flags.
By default, Cabal tries to resolve dependencies using the flag's ``default`` value.
If that fails, it retires with the negated default value. However, if the flag is
marked as ``manual``, Cabal will only use the default value and will not retry
with the negated default. Note that the default value can still be overridden
using command-line flags.

.. _conditional-blocks:

Expand Down

0 comments on commit 90f0fdf

Please sign in to comment.