nix/packages/checks/default.nix

19 lines
470 B
Nix
Raw Permalink Normal View History

{ git-hooks, ... }:
{ pkgs, ... }:
2025-02-14 13:04:04 -06:00
{
git-hooks = git-hooks.lib.${pkgs.system}.run {
src = ./.;
hooks = {
2025-02-16 21:02:46 -06:00
convco.enable = true;
nixfmt-rfc-style.enable = true;
# nix-flake-check = {
# enable = true;
# name = "nix flake check";
# entry = "${pkgs.nix}/bin/nix --extra-experimental-features 'nix-command flakes' flake check";
# pass_filenames = false;
# stages = [ "pre-commit" ];
# };
2025-02-14 13:04:04 -06:00
};
};
}