mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 14:10:37 +03:00
ignition.msgs: fix build with latest Protobuf
This commit is contained in:
parent
27df3bd06a
commit
9915fee5ea
1 changed files with 5 additions and 6 deletions
|
@ -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 ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue