Skip to content

Commit

Permalink
Allow gazebo to build against graphviz 10
Browse files Browse the repository at this point in the history
Use commit hash

Co-authored-by: Michal Sojka <[email protected]>

add name
  • Loading branch information
kjeremy authored and lopsided98 committed Jul 11, 2024
1 parent c9b5ce4 commit 2f38928
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion pkgs/gazebo/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, mkDerivation, fetchurl, cmake, pkg-config, ronn, libGL
{ lib, mkDerivation, fetchpatch, fetchurl, cmake, pkg-config, ronn, libGL
, openal, hdf5, curl, tinyxml, tinyxml-2, libtar, gts, libusb1, qtbase, gdal
, libuuid, graphviz, libsForQt5, freeimage, boost, protobuf, sdformat, tbb
, ogre1_9, ffmpeg, ignition, ignition-cmake ? ignition.cmake0
Expand All @@ -18,6 +18,15 @@ mkDerivation rec {
hash = "sha256-fphCwEbJ4HVTVbJ0wkCoq79Olivnznt/WRlOX0tYT0U=";
};

patches = [
# Allow building with graphviz 10+
(fetchpatch {
name = "fix-build-against-graphviz-10.patch";
url = "https://github.com/gazebosim/gazebo-classic/commit/660ae15f4af1f5ea8d9d50d4a24e4d91a94f9c2d.patch";
hash = "sha256-KPwuDdTEWMDbLF/FQACM/huCYlXDg43cd8QBt3E859A=";
})
];

enableParallelBuilding = true;

cmakeFlags = [ "-DUSE_HOST_CFLAGS=False" ];
Expand Down

0 comments on commit 2f38928

Please sign in to comment.