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