1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00

Merge pull request #99093 from veprbl/pr/texlive_chktex_fix

texlive: move chktex from texlive.bin.core to texlive.bin.chktex
This commit is contained in:
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

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;