feat(outputs): pre-commit-check

This commit is contained in:
Ryan Yin
2024-03-14 22:53:02 +08:00
parent dab163bf23
commit 88e2c240a6

View File

@@ -94,7 +94,7 @@ in {
checks = forAllSystems (
system: {
pre-commit-check = pre-commit-hooks.lib.${system}.run {
src = ./.;
src = mylib.relativeToRoot ".";
hooks = {
alejandra.enable = true; # formatter
# deadnix.enable = true; # detect unused variable bindings in `*.nix`