Unverified Commit 56c66162 authored by Martin Weinelt's avatar Martin Weinelt
Browse files

buildMozillaMach: use system onnxruntime

Fixes: #432724
parent 2676be26
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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")