Skip to content

python2Packages.buildPytonPackage: restructure with lib.extendMkDerivation#481423

Open
ShamrockLee wants to merge 7 commits intoNixOS:masterfrom
ShamrockLee:python2-extendMkDerivation
Open

python2Packages.buildPytonPackage: restructure with lib.extendMkDerivation#481423
ShamrockLee wants to merge 7 commits intoNixOS:masterfrom
ShamrockLee:python2-extendMkDerivation

Conversation

@ShamrockLee
Copy link
Contributor

@ShamrockLee ShamrockLee commented Jan 18, 2026

This PR partially addresses issue #477098

This PR ports the following PRs:

and partially ports the following PRs:

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

ShamrockLee and others added 7 commits January 19, 2026 00:16
Port to python2/mk-python-derivation.nix commit 21a1cf9
("mkPythonPackage, mkPythonApplication:
handle passthru with mkDerivation").
…hru attrs

Port to python2/mk-python-derivation.nix commit d6a757b
("buildPython*: prioritize user-specified passthru attrs").
Port to python2/mk-python-derivation.nix commit 8fd082e
("mk-python-derivation: passthru disabled").

Co-authored-by: Peder Bergebakken Sundt <pbsds@hotmail.com>
…rrideAttrs

Port to python2/mk-python-derivation.nix commit bb3a41f
("buildPython*: fix the disabled functionality for overrideAttrs-")
…ttrs

Port to python2/mk-python-derivation.nix commit bc122a6
("python3Packages.buildPythonPackage:
remove ineffective outputs cleanAttrs").
…ation

Port to python2/mk-python-derivation.nix commit 0969c66
(buildPython*: support fixed-point arguments via lib.extendMkDerivation")

Postpone formatting to minimize diff.
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 6.topic: python Python is a high-level, general-purpose programming language. labels Jan 18, 2026
@ShamrockLee ShamrockLee marked this pull request as ready for review January 18, 2026 21:13
@nixpkgs-ci nixpkgs-ci bot requested review from mweinelt and natsukium January 18, 2026 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: python Python is a high-level, general-purpose programming language. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant