diff --git a/pkgs/development/python-modules/onnx/default.nix b/pkgs/development/python-modules/onnx/default.nix index ce9d31be5aa0..0af451607af3 100644 --- a/pkgs/development/python-modules/onnx/default.nix +++ b/pkgs/development/python-modules/onnx/default.nix @@ -8,9 +8,6 @@ pybind11, setuptools, - # nativeBuildInputs - protobuf-core, - # buildInputs abseil-cpp, protobuf, @@ -48,10 +45,6 @@ buildPythonPackage rec { setuptools ]; - nativeBuildInputs = [ - protobuf-core # `protoc` required - ]; - buildInputs = [ abseil-cpp gtestStatic diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index b439b90d1f37..c273612e2ec3 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -9338,9 +9338,7 @@ self: super: with self; { onlykey-solo-python = callPackage ../development/python-modules/onlykey-solo-python { }; - onnx = callPackage ../development/python-modules/onnx { - protobuf-core = pkgs.protobuf; - }; + onnx = callPackage ../development/python-modules/onnx { }; onnxconverter-common = callPackage ../development/python-modules/onnxconverter-common { inherit (pkgs) protobuf;