-
-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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: withPackages and overrides does not result in correct passthru
#64334
Comments
See "9.14.2.2.1.2. Overriding Python packages" in the Nixpkgs manual, rewritten as
The composition does function, however, the |
passthru
Using the following solves the issue:
Note the |
I've updated the example in f1ff85e. There's not much else I think we can do here. |
Not passing in the newly created interpreter as `self` results in an incorrect `passthru`. Solves NixOS#64334.
Ok, updating the example is good enough :) |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/python3-override-for-bluezsupport-not-working/36042/7 |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/python3-override-for-bluezsupport-not-working/36042/8 |
Issue description
Using
withPackages
together withoverrides
currently does not work as expected.Overrides does not propagate to withPackages.
Steps to reproduce
We can demonstrate this easily in the repl:
This works exactly as expected
This does not:
I would expect the second case to also evaluate to my overriden package.
Technical details
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste theresults.
cc @FRidh
The text was updated successfully, but these errors were encountered: