Skip to content

Remove python from build inputs; bump devShell to python312#18

Open
masad-frost wants to merge 4 commits intomainfrom
fm-remove-python-build-dep
Open

Remove python from build inputs; bump devShell to python312#18
masad-frost wants to merge 4 commits intomainfrom
fm-remove-python-build-dep

Conversation

@masad-frost
Copy link
Copy Markdown
Member

@masad-frost masad-frost commented Apr 2, 2026

Blocking replit/nixmodules#479

Summary

  • Remove python310 from buildInputs — it's not needed to build rtld_loader.so (pure C, gcc -shared -nostdlib)
  • Bump devShell python from python310 to python312

Why

Consumers like nixmodules that use inputs.replit-rtld-loader.inputs.nixpkgs.follows = "nixpkgs" break when their nixpkgs points to unstable, where python310 has been removed. Since Python is only used for tests (not the build), it shouldn't be in buildInputs at all.

Test plan

The build produces rtld_loader.so using only gcc with no Python dependency — removing it from buildInputs is a no-op for the build output.

~ written by Zerg 👾

Python is only needed for running tests, not for building rtld_loader.so
(pure C, compiled with gcc -shared -nostdlib). Removing it from buildInputs
fixes consumers that follow nixpkgs-unstable where python310 no longer exists.

Bump devShell python from 310 to 312.
@masad-frost masad-frost marked this pull request as ready for review April 2, 2026 00:39
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