buildPythonPackage: Enable direct attribute overriding via overrideAttrs (the non-staging ones)#376372
Merged
mweinelt merged 7 commits intoNixOS:masterfrom Oct 5, 2025
Conversation
3e8185a to
e46f723
Compare
12 tasks
13 tasks
d96b56d to
f1bafe0
Compare
f1bafe0 to
6dd94cd
Compare
583c7e1 to
d886b55
Compare
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
d886b55 to
50e074c
Compare
This was referenced Feb 2, 2025
13 tasks
Contributor
Author
|
Rebased to resolve merge conflicts after tree-wide formatting. |
Contributor
Author
|
Pinging the Python people for inputs about the proposed This PR will enable |
2cca5ad to
2bd1e9e
Compare
Contributor
Author
|
Add informative error message when |
13 tasks
Add getFinalPassthru, an internal helper function that produces informative error message when an atttribute is not found in `finalAttrs.passthru`.
…ed attributes non-empty
…-system} overridable
2bd1e9e to
bc122a6
Compare
13 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR makes the following attributes overridable using
overrideAttrs:srcremovePythonDepsrelaxPythonDepspassthru.build-systempassthru.dependenciespassthru.pyprojectThings done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.