diff options
author | happysalada <raphael@megzari.com> | 2023-09-18 10:33:38 -0400 |
---|---|---|
committer | Yt <happysalada@tuta.io> | 2023-09-18 19:58:56 +0000 |
commit | 8e11eef3146ae19873ee9ff4e7590a0250fdee15 (patch) | |
tree | 7bdb7b0e304e9f697a6089f33824dfdd911762af /pkgs/top-level | |
parent | ad07cd4fc2e37cdeca8f6b920f4d955fa280f595 (diff) |
python311Packages.onnx: protobuf 3.x -> 4.x
Diffstat (limited to 'pkgs/top-level')
-rw-r--r-- | pkgs/top-level/python-packages.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 9bf338fb5f9c9..cd10caec3cd38 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7518,7 +7518,12 @@ self: super: with self; { onlykey-solo-python = callPackage ../development/python-modules/onlykey-solo-python { }; onnx = callPackage ../development/python-modules/onnx { - protobuf = protobuf3; + # in linux c++ defaults to 17 + # on darwin clang is on an old version so c++ defaults to 11 + abseil-cpp = if stdenv.isLinux then + pkgs.abseil-cpp_202301 + else + pkgs.abseil-cpp_202301.override { cxxStandard = "17"; }; }; onnxconverter-common = callPackage ../development/python-modules/onnxconverter-common { |