Skip to content

Commit 767fa1e

Browse files
committed
docs: fixup devenv custom hook example
Fixes #693
1 parent 4e0eb04 commit 767fa1e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,10 @@
4848
clippy.settings.allFeatures = true;
4949
5050
# Define your own custom hooks
51+
# See all options: https://github.com/cachix/git-hooks.nix#custom-hooks
5152
my-custom-hook = {
52-
name = "My own hook";
53-
exec = "on-pre-commit.sh";
53+
enable = true;
54+
entry = "./on-pre-commit.sh";
5455
};
5556
};
5657

0 commit comments

Comments
 (0)