Skip to content

Commit 2e4ea72

Browse files
authored
Merge pull request #8307 from haskell/mergify/bp/3.8/pr-8300
Warn about packages default value in docs (backport #8300)
2 parents a64c77c + c4f100b commit 2e4ea72

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/cabal-project.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,12 @@ project are:
7474

7575
:default: ``./*.cabal``
7676

77+
.. warning::
78+
79+
The default value ``./*.cabal`` only takes effect if there is no explicit
80+
``cabal.project`` file.
81+
If you use such explicit file you *must* fill the field.
82+
7783
Specifies the list of package locations which contain the local
7884
packages to be built by this project. Package locations can take the
7985
following forms:

0 commit comments

Comments
 (0)