noetic.xacro: Propagate distutils

Without this, examples/turtlebot3-gazebo.nix fails to run.

Fixes #610.
This commit is contained in:
Michal Sojka 2025-04-03 12:32:29 +02:00 committed by Ben Wolsieffer
parent ab3c1b3b7c
commit 308d6c5990

View file

@ -310,6 +310,12 @@ in {
}) ];
});
xacro = rosSuper.xacro.overrideAttrs ({
propagatedBuildInputs ? [], ...
} : {
propagatedBuildInputs = propagatedBuildInputs ++ [ rosSelf.python3Packages.distutils ];
});
})
# distutils was removed from standard library in Python 3.12, but many packages
# still depend on it.