From 380d1fc96d84d6483a48f8b644107bae63f1f6ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavier=20G=C3=B3ngora?= Date: Tue, 16 Jun 2026 16:29:15 -0600 Subject: [PATCH] Document project files are read from the root only --- doc/cabal-project-description-file.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/cabal-project-description-file.rst b/doc/cabal-project-description-file.rst index e4bd6264480..a2372b6864a 100644 --- a/doc/cabal-project-description-file.rst +++ b/doc/cabal-project-description-file.rst @@ -36,6 +36,8 @@ options): Any call to ``cabal build`` will consider ``cabal.project*`` files from parent directories when there is none in the current directory. +If found, the ``cabal.project`` file determines the project root and +other ``cabal.project.*`` files are read from this location only. .. _conditionals and imports: