nix: use current directory for 'pre-commit' hooks
The behaviour makes more sense when e.g: one modifies the clang-format rules but has not committed them yet.
This commit is contained in:
parent
5002193c63
commit
9d0f311598
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@
|
||||||
|
|
||||||
checks = {
|
checks = {
|
||||||
pre-commit = pre-commit-hooks.lib.${system}.run {
|
pre-commit = pre-commit-hooks.lib.${system}.run {
|
||||||
src = self;
|
src = ./.;
|
||||||
|
|
||||||
hooks = {
|
hooks = {
|
||||||
clang-format = {
|
clang-format = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue