Skip to content

Commit 8d6a17d

Browse files
authored
Merge pull request #468 from leana8959/fix-typstyle-arg
Fix typstyle argument
2 parents 2189f6b + 6283849 commit 8d6a17d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/hooks.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3461,7 +3461,7 @@ lib.escapeShellArgs (lib.concatMap (ext: [ "--ghc-opt" "-X${ext}" ]) hooks.ormol
34613461
lib.throwIf
34623462
(hooks.typstyle.package == null)
34633463
"The version of nixpkgs used by pre-commit-hooks.nix must contain typstyle"
3464-
"${hooks.typstyle.package}/bin/typstyle";
3464+
"${hooks.typstyle.package}/bin/typstyle -i";
34653465
files = "\\.typ$";
34663466
};
34673467
vale = {

0 commit comments

Comments
 (0)