Skip to content

Commit

Permalink
lib/checks.nix: fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
tomodachi94 committed Jun 23, 2024
1 parent b5314c0 commit 4d6b761
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/checks.nix
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{ pkgs, pre-commit-hooks, ... }:
{
pre-commit-check = pre-commit-hooks.lib.${pkgs.system}.run {
src = ./.;
src = ../.;
hooks = {
ci-check-formatting = {
enable = true;
name = "just ci: check formatting";
entry = "${pkgs.just}/bin/just check-formatting";
entry = "nix develop .#ci --run '${pkgs.just}/bin/just check-formatting'";
pass_filenames = false;
};
ci-linting = {
enable = true;
name = "just ci: lint";
entry = "${pkgs.just}/bin/just lint";
entry = "nix develop .#ci --run 'just/bin/just lint'";
pass_filenames = false;
};
};
Expand Down

0 comments on commit 4d6b761

Please sign in to comment.