From d27273c4adcafedea7f368b1f1ba291402518e37 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar <3998+srid@users.noreply.github.com> Date: Mon, 18 Nov 2024 19:08:57 -0500 Subject: [PATCH] readme: Mention flake-parts This is useful for users like me who do `Ctrl+F` "flake-parts" on the project README. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 8b9678f5..6d01168e 100644 --- a/README.md +++ b/README.md @@ -69,6 +69,10 @@ To install pre-commit hooks developers would run: nix develop ``` +### flake-parts + +If your flake uses [flake-parts](https://flake.parts/), we provide a flake-parts module as well. Checkout [`./template/flake.nix`](https://github.com/cachix/git-hooks.nix/blob/master/template/flake.nix) for an example. + ## Nix 1. **Optionally** use binary caches to avoid compilation: