mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-13 12:13:46 +01:00
feat(outputs): pre-commit-check
This commit is contained in:
1 parent
dab163bf23
commit
88e2c240a6
1 file changed
+1
-1
+1
-1
@@ -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