Skip to content

Commit 032d358

Browse files
authored
ci(formatting): Enable check in project root (#426)
resolves #238
1 parent a0502fa commit 032d358

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dev/nix/pre-commit.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
{ ... }:
1+
{ inputs, ... }:
22
{
33
perSystem = { pkgs, lib, ... }: {
44
pre-commit = {
55
check.enable = true;
66
settings = {
7+
rootSrc = lib.mkForce inputs.services-flake;
78
hooks = {
89
nixpkgs-fmt.enable = true;
910
commitizen.enable = true;

0 commit comments

Comments
 (0)