pinocchio: patch for example-robot-data models

This commit is contained in:
Guilhem Saurel
2024-05-13 10:00:17 +02:00
parent 2397b818ef
commit 396d7e2e19
@@ -4,6 +4,7 @@
, cmake
, boost
, eigen
, example-robot-data
, collisionSupport ? !stdenv.isDarwin
, jrl-cmakemodules
, hpp-fcl
@@ -23,6 +24,13 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-Ks5dvKi5iutjM+iovDOYGx3vsr45JWRqGOXV8+Ko4gg=";
};
# example-robot-data models are used in checks.
# Upstream provide them as git submodule, but we can use our own version instead.
postPatch = ''
rmdir models/example-robot-data
ln -s ${example-robot-data.src} models/example-robot-data
'';
strictDeps = true;
nativeBuildInputs = [