-
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
support for foreign library artifacts (cabal 'foreign-library' stanza) #258
Comments
Yes, absolutely! PRs accepted! BTW, do you know when this was added to Cabal? I didn't find anything in the docs at https://www.haskell.org/cabal/users-guide/developing-packages.html#foreign-libraries. We need to know this to set the |
According to the changelog, it was added in v2.0.0.2. |
https://qnikst.github.io/posts/2018-05-02-cabal-foreign-library.html i would like the feature too |
For what it's worth, for the time being it should be possible to use |
I'd like this feature too! |
I would love to work on this, but I had never dive into the source code of |
I wrote a demo of foreign-library feature here: https://github.com/pdlla/haskell-ffi-cabal-foreign-library-examples it works with stack too but you need to write your own .cabal file (see stack branch, which will get merged eventually). I'd definitely love this feature for hpack :). |
PR for a basic attempt at this feature: #518 |
This capability would allow us to easily configure shared native library output with hpack.
The text was updated successfully, but these errors were encountered: