Skip to content

Commit

Permalink
nix: avoid SIGTRAP on macos in pinocchio-example-py-casadi-quadrotor-ocp
Browse files Browse the repository at this point in the history
  • Loading branch information
nim65s committed Sep 16, 2024
1 parent 0e5c863 commit 81f79d9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@
devShells.default = pkgs.mkShell { inputsFrom = [ self'.packages.default ]; };
packages = {
default = self'.packages.pinocchio;
pinocchio = pkgs.python3Packages.pinocchio.overrideAttrs (_: {
pinocchio = pkgs.python3Packages.pinocchio.overrideAttrs (super: {
# avoid SIGTRAP on macos github runners
cmakeFlags = super.cmakeFlags ++ pkgs.lib.optionals stdenv.isDarwin [
"-DCMAKE_CTEST_ARGUMENTS=--exclude-regex;pinocchio-example-py-casadi-quadrotor-ocp"
];
src = pkgs.lib.fileset.toSource {
root = ./.;
fileset = pkgs.lib.fileset.unions [
Expand Down

0 comments on commit 81f79d9

Please sign in to comment.