flake.nix: expose packages for custom pre-commit hooks in devshell

This commit is contained in:
Martin Weinelt 2025-05-21 00:56:01 +02:00
parent dceb60ea7d
commit f7a221bc69
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -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$";
};