From 82ce04574d89b8bdc4674f15763b7121348cb614 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sun, 4 May 2025 09:20:29 +0200 Subject: [PATCH] qt6.qtgrpc: patch to fix build with new protobuf https://hydra.nixos.org/build/295700444/nixlog/4/tail --- pkgs/development/libraries/qt-6/modules/qtgrpc.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/development/libraries/qt-6/modules/qtgrpc.nix b/pkgs/development/libraries/qt-6/modules/qtgrpc.nix index b344321d11db..016f72f3074a 100644 --- a/pkgs/development/libraries/qt-6/modules/qtgrpc.nix +++ b/pkgs/development/libraries/qt-6/modules/qtgrpc.nix @@ -1,5 +1,6 @@ { qtModule, + fetchpatch, qtbase, qtdeclarative, protobuf, @@ -8,6 +9,15 @@ qtModule { pname = "qtgrpc"; + + patches = [ + (fetchpatch { + name = "new-protobuf.patch"; + url = "https://github.com/qt/qtgrpc/commit/514769d1bd595d0e54bbe34c0bd167636d4825dc.diff"; + hash = "sha256-juNSijNlR6PHxiEVx72vMBSvcWYfR/T/yvpxAF+ZAKE="; + }) + ]; + propagatedBuildInputs = [ qtbase qtdeclarative