mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-11 02:04:49 +03:00
Remove catkin_python_setup
Gets around:
> error: Multiple top-level packages discovered in a flat-layout: ['srv', 'msg', 'sample', 'action'].
>
> To avoid accidental inclusion of unwanted files or directories,
> setuptools will not proceed with this build.
>
> If you are trying to create a single distribution with multiple packages
> on purpose, you should not rely on automatic discovery.
> Instead, consider the following options:
>
> 1. set up custom discovery (`find` directive with `include` or `exclude`)
> 2. use a `src-layout`
> 3. explicitly set `py_modules` or `packages` with a list of names
>
> To find more information, look for "package discovery" on setuptools docs.
> CMake Error at catkin_generated/safe_execute_install.cmake:4 (message):
>
> execute_process(/build/jsk_recognition-release-release-noetic-jsk_recognition_msgs-1.2.17-2/build/catkin_generated/python_distutils_install.sh)
> returned error code
> Call Stack (most recent call first):
> cmake_install.cmake:46 (include)
>
>
> make: *** [Makefile💯 install] Error 1
This commit is contained in:
parent
0c2d6cfa80
commit
a55d6a903b
1 changed files with 4 additions and 1 deletions
|
@ -66,9 +66,12 @@ let
|
|||
image-cb-detector = patchBoostSignals rosSuper.image-cb-detector;
|
||||
|
||||
jsk-recognition-msgs = rosSuper.jsk-recognition-msgs.overrideAttrs ({
|
||||
buildInputs ? [], ...
|
||||
buildInputs ? [], postPatch ? "", ...
|
||||
}: {
|
||||
buildInputs = buildInputs ++ [ rosSuper.ros-environment ];
|
||||
postPatch = ''
|
||||
substituteInPlace CMakeLists.txt --replace "catkin_python_setup()" ""
|
||||
'';
|
||||
});
|
||||
|
||||
laser-cb-detector = patchBoostSignals rosSuper.laser-cb-detector;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue