Skip to content

Commit

Permalink
rename pre-commit-hooks.nix to git-hooks.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
adomixaszvers committed Jan 10, 2025
1 parent b05a565 commit 9e4748c
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 33 deletions.
54 changes: 27 additions & 27 deletions flake.lock

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

12 changes: 6 additions & 6 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@
inputs = {
flake-compat.follows = "flake-compat";
flake-utils.follows = "flake-utils";
git-hooks.follows = "pre-commit-hooks";
git-hooks.follows = "git-hooks";
home-manager.follows = "home-manager";
nixpkgs.follows = "nixpkgs";
};
};
pre-commit-hooks = {
url = "github:cachix/pre-commit-hooks.nix";
git-hooks = {
url = "github:cachix/git-hooks.nix";
inputs = {
flake-compat.follows = "flake-compat";
nixpkgs.follows = "nixpkgs";
Expand All @@ -49,7 +49,7 @@
outputs =
{
nixpkgs,
pre-commit-hooks,
git-hooks,
nixos-unstable,
flake-parts,
...
Expand All @@ -60,7 +60,7 @@
"aarch64-linux"
];
imports = [
pre-commit-hooks.flakeModule
git-hooks.flakeModule
./pkgs
./nixos/configurations.nix
./homes.nix
Expand Down Expand Up @@ -105,7 +105,7 @@
shellcheck = {
enable = true;
# shellcheck does not support zsh files but after
# https://github.com/cachix/pre-commit-hooks.nix/commit/61bda56530889b4acf6c935d832f219b6c0ebd83
# https://github.com/cachix/git-hooks.nix/commit/61bda56530889b4acf6c935d832f219b6c0ebd83
# it is run on initExtra.zsh and it fails on pre-commit
excludes = [ "\\.zsh$" ];
};
Expand Down

0 comments on commit 9e4748c

Please sign in to comment.