Loading pkgs/tools/typesetting/tex/texlive/bin.nix +9 −8 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ gd, libxaw, icu, ghostscript, ghostscript_headless, libxpm, libxmu, libxext, Loading @@ -29,7 +29,7 @@ libpaper, graphite2, zziplib, harfbuzz, harfbuzzFull, potrace, gmp, mpfr, Loading @@ -44,11 +44,12 @@ woff2, xxHash, makeWrapper, useFixedHashes, useFixedHashes ? true, asymptote, biber-ms, tlpdb, luajit, ... }@args: # Useful resource covering build options: Loading Loading @@ -411,7 +412,7 @@ rec { buildInputs = core.buildInputs ++ [ core cairo harfbuzz harfbuzzFull icu graphite2 libx11 Loading Loading @@ -607,7 +608,7 @@ rec { buildInputs = [ core brotli ghostscript ghostscript_headless zlib freetype ttfautohint Loading Loading @@ -637,7 +638,7 @@ rec { libpng freetype gd ghostscript ghostscript_headless ]; preConfigure = '' Loading @@ -651,7 +652,7 @@ rec { "--disable-debug" ]; GS = "${ghostscript}/bin/gs"; GS = lib.getExe ghostscript_headless; enableParallelBuilding = true; }; Loading Loading @@ -750,7 +751,7 @@ rec { buildInputs = [ core # kpathsea freetype ghostscript ghostscript_headless libx11 libxaw libxi Loading pkgs/tools/typesetting/tex/texlive/default.nix +41 −12 Original line number Diff line number Diff line Loading @@ -12,10 +12,9 @@ writeShellScript, writeText, buildEnv, callPackage, ghostscript_headless, git-latexdiff, harfbuzz, harfbuzzFull, makeWrapper, installShellFiles, python3, Loading Loading @@ -45,18 +44,48 @@ extraMirrors ? [ ], nixfmt, luajit, }: # for bin.nix perlPackages, python3Packages, pkg-config, cmake, ninja, libpaper, graphite2, zziplib, potrace, gmp, mpfr, mupdf-headless, brotli, cairo, pixman, libxi, libxfixes, clisp, biber, woff2, xxHash, fetchzip, fetchFromGitHub, buildPackages, texlive, zlib, libiconv, libpng, libx11, freetype, ttfautohint, gd, libxaw, icu, libxpm, libxmu, libxext, }@args: let # various binaries (compiled) bin = callPackage ./bin.nix { ghostscript = ghostscript_headless; harfbuzz = harfbuzz.override { withIcu = true; withGraphite2 = true; }; inherit useFixedHashes; tlpdb = overriddenTlpdb; }; bin = import ./bin.nix (args // { tlpdb = overriddenTlpdb; }); tlpdb = import ./tlpdb.nix; Loading Loading
pkgs/tools/typesetting/tex/texlive/bin.nix +9 −8 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ gd, libxaw, icu, ghostscript, ghostscript_headless, libxpm, libxmu, libxext, Loading @@ -29,7 +29,7 @@ libpaper, graphite2, zziplib, harfbuzz, harfbuzzFull, potrace, gmp, mpfr, Loading @@ -44,11 +44,12 @@ woff2, xxHash, makeWrapper, useFixedHashes, useFixedHashes ? true, asymptote, biber-ms, tlpdb, luajit, ... }@args: # Useful resource covering build options: Loading Loading @@ -411,7 +412,7 @@ rec { buildInputs = core.buildInputs ++ [ core cairo harfbuzz harfbuzzFull icu graphite2 libx11 Loading Loading @@ -607,7 +608,7 @@ rec { buildInputs = [ core brotli ghostscript ghostscript_headless zlib freetype ttfautohint Loading Loading @@ -637,7 +638,7 @@ rec { libpng freetype gd ghostscript ghostscript_headless ]; preConfigure = '' Loading @@ -651,7 +652,7 @@ rec { "--disable-debug" ]; GS = "${ghostscript}/bin/gs"; GS = lib.getExe ghostscript_headless; enableParallelBuilding = true; }; Loading Loading @@ -750,7 +751,7 @@ rec { buildInputs = [ core # kpathsea freetype ghostscript ghostscript_headless libx11 libxaw libxi Loading
pkgs/tools/typesetting/tex/texlive/default.nix +41 −12 Original line number Diff line number Diff line Loading @@ -12,10 +12,9 @@ writeShellScript, writeText, buildEnv, callPackage, ghostscript_headless, git-latexdiff, harfbuzz, harfbuzzFull, makeWrapper, installShellFiles, python3, Loading Loading @@ -45,18 +44,48 @@ extraMirrors ? [ ], nixfmt, luajit, }: # for bin.nix perlPackages, python3Packages, pkg-config, cmake, ninja, libpaper, graphite2, zziplib, potrace, gmp, mpfr, mupdf-headless, brotli, cairo, pixman, libxi, libxfixes, clisp, biber, woff2, xxHash, fetchzip, fetchFromGitHub, buildPackages, texlive, zlib, libiconv, libpng, libx11, freetype, ttfautohint, gd, libxaw, icu, libxpm, libxmu, libxext, }@args: let # various binaries (compiled) bin = callPackage ./bin.nix { ghostscript = ghostscript_headless; harfbuzz = harfbuzz.override { withIcu = true; withGraphite2 = true; }; inherit useFixedHashes; tlpdb = overriddenTlpdb; }; bin = import ./bin.nix (args // { tlpdb = overriddenTlpdb; }); tlpdb = import ./tlpdb.nix; Loading