Skip to content

Commit

Permalink
feat(outputs): pre-commit-check
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan4yin committed Mar 14, 2024
1 parent dab163b commit 88e2c24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion outputs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit 88e2c24

Please sign in to comment.