Skip to content

Commit

Permalink
nix: clean
Browse files Browse the repository at this point in the history
  • Loading branch information
nim65s committed Jan 2, 2025
1 parent ac59746 commit 2539bce
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,7 @@
devShells.default = pkgs.mkShell { inputsFrom = [ self'.packages.default ]; };
packages = {
default = self'.packages.pinocchio;
pinocchio = pkgs.python3Packages.pinocchio.overrideAttrs (super: {
# avoid SIGTRAP on macos github runners
cmakeFlags = super.cmakeFlags ++ pkgs.lib.optionals pkgs.stdenv.isDarwin [
"-DCMAKE_CTEST_ARGUMENTS=--exclude-regex;pinocchio-example-py-casadi-quadrotor-ocp"
];
pinocchio = pkgs.python3Packages.pinocchio.overrideAttrs {
src = pkgs.lib.fileset.toSource {
root = ./.;
fileset = pkgs.lib.fileset.unions [
Expand All @@ -42,7 +38,7 @@
./utils
];
};
});
};
};
};
};
Expand Down

0 comments on commit 2539bce

Please sign in to comment.