From d14420e2c9f8086dd252e9c93ab188aa4f067e9a Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sun, 28 Jan 2024 03:02:53 +0000 Subject: [PATCH] flipperzero-firmware: don't use grpcio/grpcio-tools, use raw protobuf If grpcio is available, then we try to invoke protoc as a shared library. This is great, but for some reason the version in nixpkgs segfaults. I suspect we're maybe violating ODR and linking in mismatch-built versions of protobuf headers in grpcio and protobuf itself. --- nix/pkgs/flipperzero-firmware/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nix/pkgs/flipperzero-firmware/default.nix b/nix/pkgs/flipperzero-firmware/default.nix index 105599cd1b..bc05ee613d 100644 --- a/nix/pkgs/flipperzero-firmware/default.nix +++ b/nix/pkgs/flipperzero-firmware/default.nix @@ -34,8 +34,7 @@ let protobuf setuptools pyserial - grpcio - grpcio-tools + protobuf (pm.toPythonModule scons) ansi colorlog