Merge pull request #99093 from veprbl/pr/texlive_chktex_fix

texlive: move chktex from texlive.bin.core to texlive.bin.chktex
gstqt5
Dmitry Kalinkin 2020-10-06 18:01:06 -04:00 committed by GitHub
commit 86e6adc799
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 19 additions and 0 deletions

View File

@ -145,6 +145,7 @@ core = stdenv.mkDerivation rec {
configureFlags = common.configureFlags
++ [ "--without-x" ] # disable xdvik and xpdfopen
++ map (what: "--disable-${what}") ([
"chktex"
"dvisvgm" "dvipng" # ghostscript dependency
"luatex" "luajittex" "mp" "pmp" "upmp" "mf" # cairo would bring in X and more
"xetex" "bibtexu" "bibtex8" "bibtex-x" "upmendex" # ICU isn't small
@ -271,6 +272,24 @@ core-big = stdenv.mkDerivation { #TODO: upmendex
};
chktex = stdenv.mkDerivation {
pname = "texlive-chktex.bin";
inherit version;
inherit (common) src;
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ core/*kpathsea*/ ];
preConfigure = "cd texk/chktex";
configureFlags = common.configureFlags
++ [ "--with-system-kpathsea" ];
enableParallelBuilding = true;
};
dvisvgm = stdenv.mkDerivation {
pname = "texlive-dvisvgm.bin";
inherit version;