Skip to content

Commit e822b84

Browse files
committed
Remove python from build inputs; bump devShell to python312
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.
1 parent e607278 commit e822b84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flake.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
pname = "replit_rtld_loader";
1111
version = "1";
1212
src = ./.;
13-
buildInputs = [pkgs.python310];
13+
buildInputs = [];
1414
installPhase = ''
1515
mkdir $out
1616
mv rtld_loader.so $out/
@@ -21,7 +21,7 @@
2121
packages.x86_64-linux.default = package;
2222
devShells.x86_64-linux.default = pkgs.mkShell {
2323
packages = with pkgs; [
24-
python310
24+
python312
2525
gnumake
2626
];
2727
};

0 commit comments

Comments
 (0)