Skip to content

Commit

Permalink
ignition.common: add patch to fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
lopsided98 committed Feb 10, 2024
1 parent 0ed4070 commit b09c3a8
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion pkgs/ignition/common/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, ignition
{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake, pkg-config, ignition
, ignition-cmake ? ignition.cmake, ignition-math ? ignition.math
, ignition-utils ? ignition.utils, libuuid, tinyxml-2, freeimage, gts, ffmpeg
, majorVersion ? "4"
Expand All @@ -18,6 +18,14 @@ stdenv.mkDerivation rec {
hash = srcHash;
};

patches = [
# Fix missing cstdint include
(fetchpatch {
url = "https://github.com/gazebosim/gz-common/commit/1243852c4bd8525ffc760a620e7d97f94cc2375c.patch";
hash = "sha256-Smk1EWcBB520kFmyrs+nka8Fj7asedhqagMDfq2liwY=";
})
];

nativeBuildInputs = [ cmake ];
propagatedNativeBuildInputs = [ ignition-cmake ];
buildInputs = [ ignition-math tinyxml-2 ignition-math gts freeimage ffmpeg ]
Expand Down

0 comments on commit b09c3a8

Please sign in to comment.