buildMozillaMach: use system onnxruntime

Fixes: #432724
This commit is contained in:
Martin Weinelt
2025-08-25 05:30:33 +02:00
parent 2676be2688
commit 56c661622f
@@ -90,6 +90,7 @@ in
nspr,
nss_esr,
nss_latest,
onnxruntime,
pango,
xorg,
zip,
@@ -510,6 +511,9 @@ buildStdenv.mkDerivation {
(enableFeature pulseaudioSupport "pulseaudio")
(enableFeature sndioSupport "sndio")
]
++ lib.optionals (!buildStdenv.hostPlatform.isDarwin && lib.versionAtLeast version "141") [
"--with-onnx-runtime=${lib.getLib onnxruntime}/lib"
]
++ [
(enableFeature crashreporterSupport "crashreporter")
(enableFeature ffmpegSupport "ffmpeg")