replace pre-commit hook with hook in pre-create

This commit is contained in:
Jörg Thalheim
2023-09-13 15:48:34 +02:00
parent 61367a1f63
commit f63cfb4462
3 changed files with 4 additions and 53 deletions

View File

@@ -14,7 +14,8 @@
config.treefmt.build.wrapper
];
shellHook = ''
ln -sf ../../scripts/pre-commit "$(git rev-parse --show-toplevel)/.git/hooks/pre-commit"
# no longer used
rm "$(git rev-parse --show-toplevel)/.git/hooks/pre-commit"
'';
};
};