buildMozillaMach: use python3.13 for versions below 143.0

This commit is contained in:
Martin Weinelt 2026-05-16 02:00:36 +02:00
commit b7a93ec9e6

View file

@ -58,6 +58,7 @@ in
pkg-config,
pkgsCross, # wasm32 rlbox
python3,
python313,
runCommand,
rustc,
rust-cbindgen,
@ -364,7 +365,7 @@ buildStdenv.mkDerivation {
makeBinaryWrapper
nodejs
perl
python3
(if lib.versionAtLeast version "143.0" then python3 else python313)
rust-cbindgen
rustPlatform.bindgenHook
rustc