use a custom installer for pre-commit hooks

This commit is contained in:
Valentin Gagarin
2024-05-22 11:27:43 +02:00
committed by Luis Hebendanz
parent 245b615209
commit e37f7e2760
3 changed files with 18 additions and 128 deletions

View File

@@ -21,7 +21,8 @@
flake-parts.inputs.nixpkgs-lib.follows = "nixpkgs";
treefmt-nix.url = "github:numtide/treefmt-nix";
treefmt-nix.inputs.nixpkgs.follows = "nixpkgs";
pre-commit-hooks.url = "github:cachix/pre-commit-hooks.nix";
git-hooks.url = "github:fricklerhandwerk/git-hooks";
git-hooks.flake = false;
};
outputs =