mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-12 02:34:50 +03:00
Fix rosidl-generator-py patching.
The patch is no longer needed on jazzy.
equivalent to 252ad9fcb2
This commit is contained in:
parent
0c20c50260
commit
6753eee596
1 changed files with 0 additions and 13 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue