Commit 497b0b95 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

pinocchio: ease use from upstream flake

In the forthcoming upstream flake, src is overriden with current repo
version, and models/example-robot-data does not exist, because it is a
submodule.
parent e3e9b974
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ stdenv.mkDerivation (finalAttrs: {
  postPatch = ''
    # example-robot-data models are used in checks.
    # Upstream provide them as git submodule, but we can use our own version instead.
    rmdir models/example-robot-data
    test -d models/example-robot-data && rmdir models/example-robot-data
    ln -s ${example-robot-data.src} models/example-robot-data

    # allow package:// uri use in examples