python3Packages.pinocchio: fix viser example
This commit is contained in:
@@ -10,6 +10,7 @@
|
|||||||
eigen,
|
eigen,
|
||||||
example-robot-data,
|
example-robot-data,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
|
fetchpatch,
|
||||||
coal,
|
coal,
|
||||||
jrl-cmakemodules,
|
jrl-cmakemodules,
|
||||||
lib,
|
lib,
|
||||||
@@ -34,6 +35,15 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
"doc"
|
"doc"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# ref. https://github.com/stack-of-tasks/pinocchio/pull/2771
|
||||||
|
(fetchpatch {
|
||||||
|
name = "fix-viser-path.patch";
|
||||||
|
url = "https://github.com/stack-of-tasks/pinocchio/commit/36a04bddb6980a7bcd28ebcc55d4e442f7920d87.patch";
|
||||||
|
hash = "sha256-9oENiMmRqJLU4ZiyGojm7suqdwTDGfk56aS2kcZiGaI=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# allow package:// uri use in examples
|
# allow package:// uri use in examples
|
||||||
export ROS_PACKAGE_PATH=${example-robot-data}/share
|
export ROS_PACKAGE_PATH=${example-robot-data}/share
|
||||||
|
|||||||
Reference in New Issue
Block a user