-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Python bindings should be in a separate output #20516
Comments
In that example the bindings seem hard-coded to the |
in Note I made a small error in the case of libxml2, this example is perhaps better |
This is now done with several packages as is clear from looking at |
Issue description
Many libraries come with Python bindings. These are typically built with the default Python interpreter. As we're switching to Python 3, this is causing some issues, since many cannot be built with Python 3.
What we need to do is:
py
.python-packages.nix
.Then, when a package requires those Python bindings, you would include
pythonXXPackages.thebindings
, and preferably withpython.withPackages
.See for example #20251.
The text was updated successfully, but these errors were encountered: