flake.nix: expose packages for custom pre-commit hooks in devshell
This commit is contained in:
parent
dceb60ea7d
commit
f7a221bc69
1 changed files with 2 additions and 0 deletions
|
@ -146,6 +146,7 @@
|
|||
};
|
||||
rstcheck = {
|
||||
enable = true;
|
||||
package = pkgs.rstcheckWithSphinx;
|
||||
entry = lib.getExe pkgs.rstcheckWithSphinx;
|
||||
files = "\\.rst$";
|
||||
};
|
||||
|
@ -170,6 +171,7 @@
|
|||
# sieve
|
||||
check-sieve = {
|
||||
enable = true;
|
||||
package = pkgs.check-sieve;
|
||||
entry = lib.getExe pkgs.check-sieve;
|
||||
files = "\\.sieve$";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue