From b23c98929219d26a355024140a3db0fb50e19f3e Mon Sep 17 00:00:00 2001 From: Mike Pilgrem Date: Sun, 18 Jan 2026 01:03:56 +0000 Subject: [PATCH] Re #638 Add docs on deps on named libs in same package, post-Cabal 3.2 --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index da66d65a..88828965 100644 --- a/README.md +++ b/README.md @@ -405,6 +405,10 @@ specify the individual dependencies: Individual dependencies as objects are only supported from version `0.31.0`. +When the Cabal file version is 3.4 or greater, a dependency on a named library +component of the same package must use the `package-name:library-name` format +introduced in Cabal file version 3.0. + When a dependency is specified as an object, you can use the `mixin` field to control what modules from the dependency your program will see and how its signatures are filled in: