diff --git a/pkgs/ignition/msgs/default.nix b/pkgs/ignition/msgs/default.nix index 707899fff1..8c1cec3735 100644 --- a/pkgs/ignition/msgs/default.nix +++ b/pkgs/ignition/msgs/default.nix @@ -17,12 +17,11 @@ stdenv.mkDerivation rec { hash = srcHash; }; - patches = - # Fix compatibility with Protobuf 3.20 - lib.optional (majorVersion == "" /* 1 */) (fetchpatch { - url = "https://github.com/gazebosim/gz-msgs/commit/faaf25d5ef991798b301b0c8b7a4c15904016695.patch"; - hash = "sha256-jVZCKGDTEdgHiEKItv+rbcLW0L2cs2EryoJe5qcoOsU="; - }); + # Don't require Protobuf 3 + patches = [ (fetchpatch { + url = "https://github.com/gazebosim/gz-msgs/commit/0c0926c37042ac8f5aeb49ac36101acd3e084c6b.patch"; + hash = "sha256-QnR1WtB4gbgyJKbQ4doMhfSjJBksEeQ3Us4y9KqCWeY="; + }) ]; nativeBuildInputs = [ cmake ]; propagatedNativeBuildInputs = [ ignition-cmake ];