Unverified Commit 0992415c authored by Andrew Marshall's avatar Andrew Marshall Committed by Martin Weinelt
Browse files

frigate: pin onnxruntime protobuf version

This is required for alignment with the tensorflow protobuf version, else
this crashes the interpreter.
parent 079358a0
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -10,6 +10,7 @@
  frigate,
  nixosTests,
  fetchpatch,
  protobuf_21,
}:

let
@@ -38,6 +39,11 @@ let
          hash = "sha256-95xtUzzIxxvDtpHX/5uCHnTQTB8Fc08DZGUOR/SdKLs=";
        };
      });
      onnxruntime = super.onnxruntime.override (old: {
        onnxruntime = old.onnxruntime.override (old: {
          protobuf = protobuf_21;
        });
      });
    };
  };
  python3Packages = python.pkgs;