Commit b8fca020 authored by quasicomputational's avatar quasicomputational

docs: mention hiding in mixins and issues for the parsing bug

[skip ci]
parent 13a8991c
......@@ -2389,6 +2389,19 @@ system-dependent values for these fields.
mixins:
foo (Foo.Bar as AnotherFoo.Bar, Foo.Baz as AnotherFoo.Baz)
Note that renaming a module like this will hide all the modules
that are not explicitly named.
Modules can also be hidden:
::
library:
mixins:
foo hiding (Foo.Bar)
Hiding modules exposes everything that is not explicitly hidden.
.. Note::
The current version of Cabal suffers from an infelicity in how the
......@@ -2396,6 +2409,10 @@ system-dependent values for these fields.
if the provided renaming clause has whitespace after the opening
parenthesis. This will be fixed in future versions of Cabal.
See issues `#5150 <https://github.com/haskell/cabal/issues/5150>`__,
`#4864 <https://github.com/haskell/cabal/issues/4864>`__, and
`#5293 <https://github.com/haskell/cabal/pull/5293>`__.
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