Skip to content

Commit 0f1d7f8

Browse files
committed
modules/pre-commit: use lazy attrs for the hooks
1 parent b084b2c commit 0f1d7f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/pre-commit.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ in
224224
hooks =
225225
mkOption {
226226
type = types.submodule {
227-
freeformType = types.attrsOf hookType;
227+
freeformType = types.lazyAttrsOf hookType;
228228
};
229229
description =
230230
''

0 commit comments

Comments
 (0)