texlive: move chktex from texlive.bin.core to texlive.bin.chktex
chktex binary doesn't work without its global resource file which comes in its tlType="run" package. This commit moves chktex into a separate tlType="bin" package so it is only used along with its tlType="run" counterpart.
This commit is contained in:
parent
7201e03a07
commit
0f564014b6
1 changed files with 19 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue