Commit f2dd0ead authored by daniel's avatar daniel Committed by Mikhail Glushenkov

Added note to the documentation of "mixins:"

It mentions the issue of parsing failures caused by the presence of
blank spaces after opening parentheses.

See #5150, #5292, #5293.
parent 96f9c1f4
......@@ -2292,6 +2292,13 @@ system-dependent values for these fields.
mixins:
foo (Foo.Bar as AnotherFoo.Bar, Foo.Baz as AnotherFoo.Baz)
.. Note::
The current version of Cabal suffers from an infelicity in how the
entries of :pkg-field:`mixins` are parsed: an entry will fail to parse
if the provided renaming clause has whitespace after the opening
parenthesis. This will be fixed in future versions of Cabal.
There can be multiple mixin entries for a given package, in effect creating
multiple copies of the dependency:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment