diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2016-06-21 12:13:24 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2016-09-04 14:48:54 +0200 |
commit | 7de41b9a4b98d37d21b5ff81a37c06acd9af77dc (patch) | |
tree | e5a65ecda3d94131f66f0aa1f1b3ea38db83864a /pkgs/tools/typesetting/tex/texlive-new/bin.nix | |
parent | 8bf002daacc161cdacabb95e839f74a75d82d991 (diff) | |
download | nixpkgs-7de41b9a4b98d37d21b5ff81a37c06acd9af77dc.tar nixpkgs-7de41b9a4b98d37d21b5ff81a37c06acd9af77dc.tar.gz nixpkgs-7de41b9a4b98d37d21b5ff81a37c06acd9af77dc.tar.bz2 nixpkgs-7de41b9a4b98d37d21b5ff81a37c06acd9af77dc.tar.lz nixpkgs-7de41b9a4b98d37d21b5ff81a37c06acd9af77dc.tar.xz nixpkgs-7de41b9a4b98d37d21b5ff81a37c06acd9af77dc.tar.zst nixpkgs-7de41b9a4b98d37d21b5ff81a37c06acd9af77dc.zip |
texlive: 2015 -> 2016
Note: only basic testing has been done so far; also see FIXME items. AMENDed to reduce git history size significantly: - fix 2015->2016 bugs in fixedHashes.nix - purge all sha512 from pkgs.nix
Diffstat (limited to 'pkgs/tools/typesetting/tex/texlive-new/bin.nix')
-rw-r--r-- | pkgs/tools/typesetting/tex/texlive-new/bin.nix | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/pkgs/tools/typesetting/tex/texlive-new/bin.nix b/pkgs/tools/typesetting/tex/texlive-new/bin.nix index 403bea2783d..eaa78e84e8f 100644 --- a/pkgs/tools/typesetting/tex/texlive-new/bin.nix +++ b/pkgs/tools/typesetting/tex/texlive-new/bin.nix @@ -14,13 +14,14 @@ let withSystemLibs = map (libname: "--with-system-${libname}"); - year = "2015"; + year = "2016"; version = year; # keep names simple for now common = rec { src = fetchurl { - url = "ftp://tug.org/historic/systems/texlive/${year}/texlive-20150521-source.tar.xz"; - sha256 = "ed9bcd7bdce899c3c27c16a8c5c3017c4f09e1d7fd097038351b72497e9d4669"; + url = "ftp://tug.org/historic/systems/texlive/${year}/texlive-${year}0523-source.tar.xz"; + sha512 = "9fdd69d237238385240e918456f54791a38e57b573edf5df839c57e56a00090" + + "12b68b7b92298c3e137181325e2be84d7a84e9c7cf41ae9739bb3329d84194564"; }; configureFlags = [ @@ -67,8 +68,8 @@ core = stdenv.mkDerivation rec { preConfigure = '' rm -r libs/{cairo,freetype2,gd,gmp,graphite2,harfbuzz,icu,libpaper,libpng} \ libs/{mpfr,pixman,poppler,potrace,xpdf,zlib,zziplib} - mkdir Work - cd Work + mkdir WorkDir + cd WorkDir ''; configureScript = "../configure"; @@ -77,7 +78,7 @@ core = stdenv.mkDerivation rec { ++ map (what: "--disable-${what}") [ "dvisvgm" "dvipng" # ghostscript dependency "luatex" "luajittex" "mp" "pmp" "upmp" "mf" # cairo would bring in X and more - "xetex" "bibtexu" "bibtex8" "bibtex-x" # ICU isn't small + "xetex" "bibtexu" "bibtex8" "bibtex-x" "upmendex" # ICU isn't small ] ++ [ "--without-system-harfbuzz" "--without-system-icu" ] # bogus configure ; @@ -117,7 +118,7 @@ core = stdenv.mkDerivation rec { inherit (core-big) metafont metapost luatex xetex; -core-big = stdenv.mkDerivation { +core-big = stdenv.mkDerivation { #TODO: upmendex name = "texlive-core-big.bin-${version}"; inherit (common) src; @@ -128,7 +129,7 @@ core-big = stdenv.mkDerivation { ++ withSystemLibs [ "kpathsea" "ptexenc" "cairo" "harfbuzz" "icu" "graphite2" ] ++ map (prog: "--disable-${prog}") # don't build things we already have [ "tex" "ptex" "eptex" "uptex" "euptex" "aleph" "pdftex" - "web-progs" "synctex" "luajittex" # luajittex is mostly not needed, see: + "web-progs" "synctex" "luajittex" "mfluajit" # luajittex is mostly not needed, see: # http://tex.stackexchange.com/questions/97999/when-to-use-luajittex-in-favour-of-luatex ]; @@ -136,7 +137,7 @@ core-big = stdenv.mkDerivation { # we use static libtexlua, because it's only used by a single binary postConfigure = '' - mkdir ./Work && cd ./Work + mkdir ./WorkDir && cd ./WorkDir for path in libs/{teckit,lua52} texk/web2c; do ( if [[ "$path" == "libs/lua52" ]]; then |