From 6f4b6d39faf22554f32381a5a00483fdda60c6f1 Mon Sep 17 00:00:00 2001 From: whispers Date: Mon, 28 Sep 2026 15:31:13 -0400 Subject: [PATCH] libedgetpu: pin abseil-cpp to c++17 for gcc 16 gcc 16 defaults to c++20, so the abseil-cpp we provide to libedgetpu builds with it as well. since abseil exposes different api surface based on the standard, it needs to match libedgetpu, which we pin to c++17. --- pkgs/by-name/li/libedgetpu/package.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/li/libedgetpu/package.nix b/pkgs/by-name/li/libedgetpu/package.nix index 7fc12afe8f19..56a3b59c85d7 100644 --- a/pkgs/by-name/li/libedgetpu/package.nix +++ b/pkgs/by-name/li/libedgetpu/package.nix @@ -60,7 +60,7 @@ stdenv.mkDerivation { ]; buildInputs = [ - abseil-cpp + (abseil-cpp.override { cxxStandard = "17"; }) libusb1 flatbuffers_23_5_26 ];