Skip to content

Commit

Permalink
Merge pull request #2540 from nim65s/nix
Browse files Browse the repository at this point in the history
Nix: update flake lock
  • Loading branch information
jcarpent authored Jan 2, 2025
2 parents ac59746 + 0448a28 commit ecc688d
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 16 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/update-flake-lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: update-flake-lock

on:
workflow_dispatch:
schedule:
- cron: '0 1 5 * *'

jobs:
lockfile:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@main
20 changes: 10 additions & 10 deletions flake.lock

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

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 ecc688d

Please sign in to comment.