mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-18 07:24:10 +01:00
feat(outputs): pre-commit-check
This commit is contained in:
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user