git-hooks.nix
git-hooks.nix copied to clipboard
latexindent: add extraConfig and disableExtraFiles options
commit 7dca34cf42b2edc9ee34f1228d7cd7fbf9d88f98 [...] latexindent: add hooks.latexindent.settings.extraConfig option Replace the hooks.latexindent.settings.flags option with hooks.latexindent.settings.extraConfig to support arbitrary upstream flags and allow users to override default values. [...] commit 0593b68e5e627e4e761d39c11bca4f7db6bdd4bf [...] latexindent: add hooks.latexindent.settings.disableExtraFiles option Add the hooks.latexindent.settings.disableExtraFiles option to prevent the creation of backup and log files. Upstream refuses adding an option to disable backup and log file creation to protect non-version-controlled users from data loss, despite it being considered unnecessary for those using version control. [1] [2] [3] Considering that Git is the standard in Nix and required for flakes, providing this option is reasonable. [1]: https://github.com/cmhughes/latexindent.pl/issues/145 [2]: https://github.com/cmhughes/latexindent.pl/issues/333 [3]: https://github.com/cmhughes/latexindent.pl/pull/354 [...] commit 31e108faff7bdb5956092b891839d25a2e969424 [...] latexindent: enable settings.disableExtraFiles option by default Enable the hooks.latexindent.settings.disableExtraFiles option by default, aligning with the community consensus that this should be the standard when using version control. [...]
This patchset resolves the issue mentioned in https://github.com/cachix/git-hooks.nix/pull/512#issuecomment-2407640246 by leveraging the patchset https://github.com/cachix/git-hooks.nix/pull/513 ("latex: reduce installation size and build time").