Skip to content

Commit

Permalink
Don't patch rosidl-generator-py in Jazzy
Browse files Browse the repository at this point in the history
The patched code was removed in
ros2/rosidl_python#140.
  • Loading branch information
wentasah committed Aug 8, 2024
1 parent 6ad377d commit e0a96e7
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions distros/jazzy/overrides.nix
Original file line number Diff line number Diff line change
Expand Up @@ -62,19 +62,6 @@ in {
hash = "sha256-Qaz26F11VWxkQH8HfgVJLTHbHwmeByQu8ENkuyk5rPE=";
};

rosidl-generator-py = rosSuper.rosidl-generator-py.overrideAttrs ({
postPatch ? "", ...
}: let
python = rosSelf.python;
in {
# Fix finding NumPy headers
postPatch = postPatch + ''
substituteInPlace cmake/rosidl_generator_py_generate_interfaces.cmake \
--replace-fail '"import numpy"' "" \
--replace-fail 'numpy.get_include()' "'${python.pkgs.numpy}/${python.sitePackages}/numpy/core/include'"
'';
});

rviz-ogre-vendor = lib.patchAmentVendorGit rosSuper.rviz-ogre-vendor {
url = "https://github.com/OGRECave/ogre.git";
rev = "v1.12.10";
Expand Down

0 comments on commit e0a96e7

Please sign in to comment.