Skip to content

Commit

Permalink
build(deps): bump cachix/install-nix-action from 27 to 28 (#2417)
Browse files Browse the repository at this point in the history
* build(deps): bump cachix/install-nix-action from 27 to 28

Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 27 to 28.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](cachix/install-nix-action@v27...V28)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* nix: avoid SIGTRAP on macos in pinocchio-example-py-casadi-quadrotor-ocp

* nix flake update

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Guilhem Saurel <[email protected]>
  • Loading branch information
dependabot[bot] and nim65s authored Sep 16, 2024
1 parent e792f90 commit bf2c469
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
os: [ubuntu, macos]
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v27
- uses: cachix/install-nix-action@V28
- uses: cachix/cachix-action@v15
with:
name: gepetto
Expand Down
25 changes: 13 additions & 12 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 6 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@

inputs = {
flake-parts.url = "github:hercules-ci/flake-parts";
#nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
# use gepetto fork until https://github.com/NixOS/nixpkgs/pull/337942
nixpkgs.url = "github:gepetto/nixpkgs";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};

outputs =
Expand All @@ -22,7 +20,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 pkgs.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 bf2c469

Please sign in to comment.