Skip to content

Commit 8ae5bb6

Browse files
committed
Update hook module import for default hooks
1 parent 1674357 commit 8ae5bb6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/hooks.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@ in
804804
no-commit-to-branch = mkOption {
805805
description = lib.mdDoc "no-commit-to-branch-hook";
806806
type = types.submodule {
807-
imports = hookModule;
807+
imports = [ hookModule ];
808808
options.settings = {
809809
branch =
810810
mkOption {
@@ -1346,7 +1346,7 @@ in
13461346
sort-file-contents = mkOption {
13471347
description = lib.mdDoc "sort-file-contents-hook";
13481348
type = types.submodule {
1349-
imports = hookModule;
1349+
imports = [ hookModule ];
13501350
options.settings = {
13511351
ignore-case =
13521352
mkOption {

0 commit comments

Comments
 (0)