File tree 2 files changed +17
-0
lines changed 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 594
594
} ;
595
595
} ;
596
596
} ;
597
+ lacheck = mkOption {
598
+ description = lib . mdDoc "lacheck hook" ;
599
+ type = types . submodule {
600
+ imports = [ hookModule ] ;
601
+ } ;
602
+ } ;
597
603
lua-ls = mkOption {
598
604
description = lib . mdDoc "lua-ls hook" ;
599
605
type = types . submodule {
@@ -2524,6 +2530,14 @@ lib.escapeShellArgs (lib.concatMap (ext: [ "--ghc-opt" "-X${ext}" ]) hooks.ormol
2524
2530
package = tools . latexindent ;
2525
2531
entry = "${ hooks . latexindent . package } /bin/latexindent ${ hooks . latexindent . settings . flags } " ;
2526
2532
} ;
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
+ } ;
2527
2541
lua-ls =
2528
2542
let
2529
2543
# .luarc.json has to be in a directory,
Original file line number Diff line number Diff line change 173
173
dune-build-opam-files = callPackage ./dune-build-opam-files { dune = dune_3 ; inherit ( pkgsBuildBuild ) ocaml ; } ;
174
174
dune-fmt = callPackage ./dune-fmt { dune = dune_3 ; inherit ( pkgsBuildBuild ) ocaml ; } ;
175
175
latexindent = tex ;
176
+ lacheck = texlive . combine {
177
+ inherit ( texlive ) lacheck scheme-basic ;
178
+ } ;
176
179
chktex = tex ;
177
180
commitizen = commitizen . overrideAttrs ( _ : _ : { doCheck = false ; } ) ;
178
181
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