Skip to content

Commit

Permalink
chore(deps): bump nixpkgs, poetry2nix, git-hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Jan 25, 2025
1 parent 22e4d62 commit 0a79914
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 39 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: cachix/install-nix-action@08dcb3a5e62fa31e2da3d490afc4176ef55ecd72 # v30
- uses: cachix/install-nix-action@v30 # v30
with:
nix_path: nixpkgs=channel:nixos-unstable-small

Expand Down
66 changes: 33 additions & 33 deletions flake.lock

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

10 changes: 5 additions & 5 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
};
};

pre-commit-hooks = {
url = "github:cachix/pre-commit-hooks.nix";
git-hooks = {
url = "github:cachix/git-hooks.nix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
Expand All @@ -36,7 +36,7 @@
, gitignore
, nixpkgs
, poetry2nix
, pre-commit-hooks
, git-hooks
, ...
}:
let
Expand Down Expand Up @@ -128,7 +128,7 @@
defaultPackage = packages.numbsql;

checks = {
pre-commit-check = pre-commit-hooks.lib.${system}.run {
pre-commit = git-hooks.lib.${system}.run {
src = ./.;
hooks = {
ruff.enable = true;
Expand Down Expand Up @@ -172,7 +172,7 @@
# sqlite is necessary to ensure the availability of libsqlite3
sqlite
];
inherit (self.checks.${system}.pre-commit-check) shellHook;
inherit (self.checks.${system}.pre-commit) shellHook;
NUMBA_CAPTURED_ERRORS = "new_style";
} // pkgs.lib.optionalAttrs pkgs.stdenv.isDarwin {
DYLD_LIBRARY_PATH = "${pkgs.sqlite.out}/lib";
Expand Down

0 comments on commit 0a79914

Please sign in to comment.