-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for visibility: public #382
Comments
@expipiplus1 can you please try #385? Does this work for you? |
@sol, works great, thanks! |
@expipiplus1 have you been able to import the exposed public library though? When I try putting |
@Ptival I didn't have the need for this myself, but if having a dependency on a public library doesn't work then this is probably something we want to fix. If you can provide a minimal test case (as I understand it, we would need two packages for this, one that exports the library and one that depends on it), then I'll try to find the time to fix it. |
@Ptival, I didn't try to import such a package using hpack, no. From what I
understand you're talking about the dual of this issue.
…On Sat, May 30, 2020, 4:55 AM Simon Hengel ***@***.***> wrote:
@Ptival <https://github.com/Ptival> I didn't have the need for this
myself, but if having a dependency on a public library doesn't work then
this is probably something we want to fix. If you can provide a minimal
test case (as I understand it, we would need two packages for this, one
that exports the library and one that depends on it), then I'll try to find
the time to fix it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#382 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGRJXGXN43J7PNBZMHJDBTRUAOM7ANCNFSM4MF3SLIA>
.
|
Yes, it is indeed the other side of the picture. In terms of minimal example, if you write a
The output is:
When it should be:
Without it, |
For me dependencies:
- base
- package
- package:library results in a parse error. @Ptival what version of We want to address this, but for the meantime, this can be used as a workaround: dependencies:
- base
- package
- name: package:library |
Ok, so the current behavior depends on the version of |
Thanks for the workaround! (it works) |
On Hackage as |
Sorry, turns out overriding I can confirm that it works, and inserts |
Thanks for the super tool!
It would be really nice to have support for multiple public libraries: https://fgaz.me/posts/2019-11-14-cabal-multiple-libraries/
At the moment it seems possible to do with
verbatim: visibility: public
as below, but it seems nasty to have to put these libraries ininternal-libraries
.The text was updated successfully, but these errors were encountered: