git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #99093 from veprbl/pr/texlive_chktex_fix

texlive: move chktex from texlive.bin.core to texlive.bin.chktex

commit86e6adc799ef0dd9019002f623f733973b6e46dd authorDmitry Kalinkin <dmitry.kalinkin@gmail.com> dateTue 6 Oct 2020, 18:01 (6 years ago) parente97be2a0f56401
1 file changed+19
pkgs/tools/typesetting/tex/texlive/bin.nix+19
pkgs/tools/typesetting/tex/texlive/bin.nix+19
@@ -145,6 +145,7 @@ core = stdenv.mkDerivation rec {
145145 configureFlags = common.configureFlags
146146 ++ [ "--without-x" ] # disable xdvik and xpdfopen
147147 ++ map (what: "--disable-${what}") ([
148+ "chktex"
148149 "dvisvgm" "dvipng" # ghostscript dependency
149150 "luatex" "luajittex" "mp" "pmp" "upmp" "mf" # cairo would bring in X and more
150151 "xetex" "bibtexu" "bibtex8" "bibtex-x" "upmendex" # ICU isn't small
@@ -271,6 +272,24 @@ core-big = stdenv.mkDerivation { #TODO: upmendex
271272};
272273
273274
275+chktex = stdenv.mkDerivation {
276+ pname = "texlive-chktex.bin";
277+ inherit version;
278+
279+ inherit (common) src;
280+
281+ nativeBuildInputs = [ pkgconfig ];
282+ buildInputs = [ core/*kpathsea*/ ];
283+
284+ preConfigure = "cd texk/chktex";
285+
286+ configureFlags = common.configureFlags
287+ ++ [ "--with-system-kpathsea" ];
288+
289+ enableParallelBuilding = true;
290+};
291+
292+
274293dvisvgm = stdenv.mkDerivation {
275294 pname = "texlive-dvisvgm.bin";
276295 inherit version;