Skip to content
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

introduce languages.python.finalPackage #1542

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

bobvanderlinden
Copy link
Contributor

Currently it isn't possible to use languages.python without the LD_LIBRARY_PATH wrapper. Since this wrapper resulted into some unwanted side-effects I'd like to be able to override the wrapper as well.

languages.python.package is the unwrapped package and languages.python.finalPackage wraps languages.python.package, which is in turn used like it was previously.

Since the package = cfg.finalPackage; was a bit confusing, I opted to replace this with inherit (cfg.finalPackage) interpreter sitePackages;.

Allow overriding the wrapper-python package by introducing the
languages.python.finalPackage option, which replaces the let-variable.
The variable 'package' currently referred to finalPackage. This was a
bit confusing. Instead, this introduces 'interpreter' and
'sitePackages', which refer to those from finalPackage.
@bobvanderlinden
Copy link
Contributor Author

This should also help to implement solutions like #840 to workaround issues related to #1111.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant