Skip to content

tools: python3 only - #126

Open
toastal wants to merge 3 commits into
mirrexagon:masterfrom
toastal:python3-only
Open

tools: python3 only#126
toastal wants to merge 3 commits into
mirrexagon:masterfrom
toastal:python3-only

Conversation

@toastal

@toastal toastal commented Jun 29, 2026

Copy link
Copy Markdown

I wanted to use overlay.nix (non-flakes) with nixpkgs-unstable (NixOS 26.11 (Zokor)) which is a year ahead of what’s pinned here. python310 was dropped in 26.05 & a bunch of new versions have been added since… & really this just seems like the wrong abstraction when you could just stick to python3, & eliminate all the gdbs that don’t match the python3‘s libpython version. Instead, if you want a different/specific python3, override it. Added an assert as more flexible & matches-upstream approach as well. …& swapped to makeBinaryWrapper to drop shell overhead.

NOTE: the 6.x branches need to bump the minimum Python version to 3.10, but unfortunately, those aren’t merged yet.

1

Footnotes

  1. Please consider giving up MS GitHub or offering a non-proprietary, non-US-corporate-controlled mirror for this free software project. I wish to delete this Microsoft account in the future, but I need more projects like this to support alternative methods to send patches & contribute.

toastal added 3 commits June 30, 2026 04:11
It’s infeasible to try to keep versions support up to date with Nixpkgs…
this add a complicated patchelf script to the build, but for users, now
they can just use latest python3, or easily override it.
C binary has less overhead than a shell script
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