File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 594594 } ;
595595 } ;
596596 } ;
597+ lacheck = mkOption {
598+ description = lib . mdDoc "lacheck hook" ;
599+ type = types . submodule {
600+ imports = [ hookModule ] ;
601+ } ;
602+ } ;
597603 lua-ls = mkOption {
598604 description = lib . mdDoc "lua-ls hook" ;
599605 type = types . submodule {
@@ -2524,6 +2530,14 @@ lib.escapeShellArgs (lib.concatMap (ext: [ "--ghc-opt" "-X${ext}" ]) hooks.ormol
25242530 package = tools . latexindent ;
25252531 entry = "${ hooks . latexindent . package } /bin/latexindent ${ hooks . latexindent . settings . flags } " ;
25262532 } ;
2533+ lacheck =
2534+ {
2535+ name = "lacheck" ;
2536+ description = "A consistency checker for LaTeX documents." ;
2537+ types = [ "file" "tex" ] ;
2538+ package = tools . lacheck ;
2539+ entry = "${ hooks . lacheck . package } /bin/lacheck" ;
2540+ } ;
25272541 lua-ls =
25282542 let
25292543 # .luarc.json has to be in a directory,
Original file line number Diff line number Diff line change 173173 dune-build-opam-files = callPackage ./dune-build-opam-files { dune = dune_3 ; inherit ( pkgsBuildBuild ) ocaml ; } ;
174174 dune-fmt = callPackage ./dune-fmt { dune = dune_3 ; inherit ( pkgsBuildBuild ) ocaml ; } ;
175175 latexindent = tex ;
176+ lacheck = texlive . combine {
177+ inherit ( texlive ) lacheck scheme-basic ;
178+ } ;
176179 chktex = tex ;
177180 commitizen = commitizen . overrideAttrs ( _ : _ : { doCheck = false ; } ) ;
178181 bats = if bats ? withLibraries then ( bats . withLibraries ( p : [ p . bats-support p . bats-assert p . bats-file ] ) ) else bats ;
You can’t perform that action at this time.
0 commit comments