Commit graph

595 commits

Author SHA1 Message Date
Leo Gaskin dbc6e67bb3 texlive.bin: Use xpdf provided by TeXLive
This is done because the xpdf provided by Nixpkgs is marked as
insecure.  Granted, the version provided by TeXLive also has these
vulnerabilities, but it might be okay to treat them as irrelevant in
the context of TeX.
2021-05-02 22:05:29 +02:00
Leo Gaskin 7bf9a3b250 texlive.bin: fix for replacement of poppler with pplib
TeXLive no longer depends on or supports poppler, instead using the
homegrown pplib library.
2021-05-02 22:05:29 +02:00
Leo Gaskin 2ffe681e66 texlive: 2020 -> 2021 2021-05-02 21:50:09 +02:00
Vincenzo Mantova 69fefe9d37 mftrace: init at 1.2.20 2021-04-11 15:15:58 +01:00
Dmitry Kalinkin ca44268569
Merge pull request #118834 from eyJhb/texlive-08-04-2021
texlive: 2020.20210109 -> 20210408
2021-04-08 23:12:46 -04:00
eyjhb 422ad2a308
texlive: 2020.20210109 -> 20210408 2021-04-08 19:14:53 +02:00
bootstrap-prime 9063f676b7 tex-match: init at 1.2.0 2021-04-03 18:34:21 -04:00
Jörg Thalheim d280e1f78c
Merge pull request #116788 from veprbl/pr/texlive_find_tarballs_fix
texlive.combine: export `packages` attribute to help find-tarballs.nix
2021-03-23 09:28:32 +00:00
github-actions[bot] 6ffd2fe000
Merge master into staging-next 2021-03-19 06:17:55 +00:00
Dmitry Kalinkin 6829f9e141
texlive.bin.dvipng: refactor gs hardcoding, add a test for it 2021-03-18 20:55:35 -04:00
Dmitry Kalinkin 9adbfba80f
texlive.combine: export packages attribute to help find-tarballs.nix
Can be verified using:

  nix-instantiate --eval --json --strict ./maintainers/scripts/find-tarballs.nix --arg expr '(import ./. {}).texlive.combined.scheme-small' 2>/dev/null | jq '.[].name' | grep -E "r[0-9]+\.tar\.xz"
2021-03-18 17:50:57 -04:00
Jan Tojnar f747bcb868
Merge branch 'master' into staging-next 2021-03-12 19:58:39 +01:00
ajs124 d3e910bae8 dblatex: 0.3.11 -> 0.3.12 2021-03-03 02:58:12 +01:00
Ben Siraphob 127733211e
treewide: unzip buildInputs to nativeBuildInputs (#112302) 2021-02-20 16:01:53 -05:00
Ben Siraphob e03c068af5 treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
Jörg Thalheim ffcf5e0f0f
texlive: use python3 by default
There is one python helper script still written for: Utility for writing
Bengali in Rapid Roman Format. But this one does not seem super relevant
2021-01-27 11:09:26 +01:00
Ben Siraphob 1c2a2b0a08 treewide: fold -> foldr 2021-01-26 10:57:07 +07:00
Ben Siraphob d6aeae8f90 pkgs/tools: pkgconfig -> pkg-config (2) 2021-01-17 23:27:27 +07:00
Ben Siraphob d1852aca3c pkgs/tools, pkgs/applications: [sS]tdenv.*lib -> lib 2021-01-17 20:59:15 +07:00
Ben Siraphob 8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
Dmitry Kalinkin c5787e5b8c
texlive: 2020.20201009 -> 2020.20210109 2021-01-11 13:02:54 -05:00
Dmitry Kalinkin ac255ab62e
texlive: put snapshot date into the version 2021-01-11 13:01:39 -05:00
Profpatsch 4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Dmitry Kalinkin f86651e63b
texlive.combine: set allowSubstitutes = true 2020-12-19 11:33:50 -05:00
Dmitry Kalinkin 9ef277209a
texlive.bin.dvisvgm: texlive 2.8.1 -> upstream 2.11 2020-11-30 15:38:28 -05:00
iko eb7d367200
runLaTeX: rerun at least twice + refactor (#104185)
Building a simple LaTeX document without bibTeX with a table of contents yielded a document with an empty table of contents since LaTeX was only run once
2020-11-27 12:32:29 -05:00
adisbladis ce84cc06bf
texlive: Use lib.unique for uniqueness checks
In 85605c8a29 we got a really nice
performance improvement.

By using this implementation for texlive instantiation RSS is cut by
~2.6x with a similar wall time speedup.
2020-11-24 15:40:22 +01:00
R. RyanTM 2948121261 auctex: 12.2 -> 12.3 2020-10-24 23:17:49 -07:00
Dmitry Kalinkin 047749744f
texlive.bin.xindy: disable on platforms where clisp is broken 2020-10-18 14:08:43 -04:00
Dmitry Kalinkin e638958ec3
texlive: remove unused patch files
Those are not needed since 10438ba4fa
2020-10-18 13:59:09 -04:00
Dmitry Kalinkin ea5ac1103c
texlive.bin.core: remove unneeded autoreconfHook
Revert "texlive: fix missing synctex header"

This reverts commit ce6e72a11c.
2020-10-18 13:56:57 -04:00
Dmitry Kalinkin 10438ba4fa
texlive: 2019 -> 2020
Also change default package version from texlive year to a
revision. The problem with using texlive year is that it will change
on each of our update even if the package itself was not updated. The
texlive SVN revision number should not change unless the package is
updated. This will allow to share more store paths between different
texlive versions.
2020-10-11 12:28:26 -04:00
Dmitry Kalinkin d2a3ac31b6
texlive.bin: provide luajittex and mfluajit binaries
The ppc64 condition is based on previous reports and was not tested on
actual hardware.
2020-10-11 12:28:25 -04:00
Dmitry Kalinkin 1e87de13a5
texlive.combined.scheme-infraonly: enable building on Hydra
This used to be broken, but recently was fixed.
2020-10-11 12:28:25 -04:00
Dmitry Kalinkin b797fb24c4
texlive.bin.mflua: init 2020-10-11 12:28:25 -04:00
Dmitry Kalinkin 69e0797b00
texlive.bin.core: avoid building lua{53,jit} libraries 2020-10-11 12:28:11 -04:00
Dmitry Kalinkin 02cbf4e773
texlive.bin.core: remove outdated options 2020-10-09 18:19:49 -04:00
Dmitry Kalinkin 0f564014b6
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.
2020-09-29 07:35:03 -04:00
Jan Tojnar 607509ac8f
Merge pull request #97690 from jtojnar/inkscape-1.0.1 2020-09-12 16:30:53 +02:00
Jan Tojnar 35deaa45a1
inkscape_0: drop
Inkscape 1.0.1 re-added the old CLI flags:
3ca6a4ed08
2020-09-10 20:46:55 +02:00
Dmitry Kalinkin 37d65c8698
texlive: fix arara 2020-09-09 18:49:32 -04:00
Dmitry Kalinkin 30205d76ad
texlive: disable revisioned tarballs for now 2020-08-01 17:06:12 -04:00
Pavol Rusnak 8402a74cce
treewide: replace inkscape with inkscape_0
The Inkscape CLI interface has been changed with 1.x and packages
are not adjusted yet to this change. Let's use inkscape 0.x instead.
2020-07-19 13:10:16 +02:00
Dylan Simon 4ab0be845d
texlive.bin: fix poppler compatibility patch urls (#91890) 2020-07-02 12:59:59 -04:00
Dmitry Kalinkin 8852a81022
texlive: fix build for scheme-infraonly 2020-06-22 01:08:45 -04:00
Sander van der Burg 75b0777831 dblatex: add pdflscape as a dependency
Without it, building a document fails with the following error:

pdflatex failed
index.tex: File `pdflscape.sty' not found.
index.tex:47: Emergency stop.
2020-06-01 23:12:35 +02:00
Dmitry Kalinkin 73e0138f7c
texlive: build all official schemes on Hydra
We are already building texlive.combined.scheme-full as a dependency
for manim.
2020-05-18 00:04:20 -04:00
Pavol Rusnak 7b0167204d treewide: use https for nixos.org and hydra.nixos.org
tarballs.nixos.org is omitted from the change because urls from there
are always hashed and checked
2020-05-03 22:14:21 -07:00
Ismaël Bouya bb79233b94
texlive: Fix texlive pstricks
The upgrade of ghostscript to 9.50 produced some issues with texlive
2019. This patch adds an additional fix necessary for the upgrade
preventing pstricks from working correctly:

  https://tug.org/pipermail/dvipdfmx/2019-November/000036.html
2020-04-22 18:34:06 +02:00
Dmitry Kalinkin af72bf0ae2
texlive.bin: fix for poppler 0.84 2020-04-16 04:17:22 +02:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Dmitry Kalinkin 91c9f2ab5c
texlive.combine: set TEXMFCNF in binary wrapper
This helps kpathsea to find texmf.cnf in some cases. For example,
dvipng was trying to look for it in
/nix/store/<hash>-texlive-dvipng.bin-2019/ instead of
/nix/store/<hash>-texlive-combined-full-2019/.
2020-03-30 21:07:08 -04:00
Dmitry Kalinkin 9f44a61f39
texlive: use versioned tarballs
Announced in [1], versioned tarballs allow to make sure that a
specific version is fetched. This does not guarantee that all previous
versions are retained on the main mirrors.

Logically, we would want to first try to download versioned tarballs
from any mirror and only then try the unversioned ones. But right now
we only have two mirrors and only some of the tarballs are versioned
in texlive-2019, so the order is changed to not hammer the weak
tug.org mirror.

[1] https://tug.org/pipermail/tex-live/2019-September/044086.html
2020-03-15 14:56:18 -04:00
Dmitry Kalinkin 9c4212cb9f
texlive/pkgs.nix: add revision 2020-03-15 14:56:17 -04:00
Dmitry Kalinkin 9752593eb0
texlive: 2019 -> 2019-final
The biber package is now at 2.14, but TextBibTeX is still required.

Few changes were needed for newly introduced scripts-extra path. This
broke some of our old tricks which were relying on having writable
script directories. The changes to the script locations made buildEnv
create symlinks to the script directories instead of directories of
symlinks to scripts. The changes to texlinks.sh and texlive/TeXLive
perl path were made because of this.
2020-03-15 14:56:17 -04:00
Dmitry Kalinkin d9fb53ddd6
texlive: reimplement fixHashes.sh in GNU Awk
The shell script doesn't work very well in non-GNU environments like
darwin. This provides an implementation that uses just a single GNU tool
- gawk, thus reduces number of points of failure.
2020-03-15 14:56:16 -04:00
Will Dietz fc7e4c9267 texlive: poppler 0.84 fix, patch from gentoo 2020-02-03 09:58:44 -08:00
Mathias Schreck 9508d07ac3
runLaTeX: add additional rerun criterion (#78318)
Seems like the phrase "Please rerun LaTeX." is outputted by `biblatex`.
When we detect this, we should actual rerun latex.
2020-01-30 14:05:20 -05:00
Benjamin Hipple 39700a65ef texlive: touchup documentation (#77718)
The `bash` pragma gives syntax highlighting on the file, and removing the
prompts allows a user to just copy-paste the entire block into the terminal to
run the update.
2020-01-16 23:30:20 -05:00
Dmitry Kalinkin 00b7680f28
! fixup 2020-01-07 11:08:13 -05:00
Dmitry Kalinkin f9d18e5ddc
! fixup 2020-01-07 11:00:36 -05:00
Mike Sperber 7e298ddcd9 texlive: make updmap actually regenerate (#76826)
The --syncwithtrees flag only updates the config files, so run it
again without --syncwithtrees to generate the actual map files.
2020-01-03 17:45:21 +01:00
Dmitry Kalinkin dfc9845838
texlive: provide a working pygmentex executable
The old top-level pygmentex package is replaced with an alias.
2019-12-15 19:52:17 -05:00
Dmitry Kalinkin c644c7578d
texlive.bin.dvipng: fix "Fatal error, PK file ends prematurely"
Closes: #75605
2019-12-13 13:14:35 -05:00
Dmitry Kalinkin 2f637f4cff
texlive.bin.dvisvgm: don't provide dependencies that it ignores
dvisvgm currently uses its own vendored versions for multiple libraries
2019-12-08 23:04:57 -05:00
Dmitry Kalinkin d26ca8bc66
texlive.bin.dvisvgm: fix for our ghostscript 2019-12-08 22:59:45 -05:00
Dmitry Kalinkin 9d2ed2f0bd
Merge pull request #74305 from veprbl/pr/texlive_use_tlinfo_snapshot
texlive: use texlive.info snapshot
2019-12-07 14:23:08 -05:00
Jonathan Ringer cbbad0d899 texlive.bin: fix darwin build 2019-12-04 09:26:39 -08:00
Jan Tojnar 9e4d564543
texlive.bin.core: Fix build with Poppler 0.83.0 2019-12-03 01:33:10 +01:00
R. RyanTM 289aacbf8c auctex: 12.1 -> 12.2 2019-11-27 19:45:35 -08:00
Dmitry Kalinkin d6fdab57cf
texlive: use texlive.info snapshot
These are easy to access daily snapshots maintained by one of the
texlive developers.
2019-11-27 10:20:33 -05:00
SRGOM d587092e9e pplatex: init at unstable-2015-09-14 (#73461) 2019-11-15 14:01:11 -05:00
Dmitry Kalinkin f4ae8d09e7
texlive: remove dvidvi override
Not needed anymore
2019-11-13 16:54:53 -05:00
markuskowa dca1178698
Merge pull request #72472 from r-ryantm/auto-update/dblatex
dblatex: 0.3.10 -> 0.3.11
2019-11-11 23:58:14 +01:00
Dmitry Kalinkin 97dbf112b4
texlive: 2018 -> 2019
biber: 2.12 -> 2.13

Vendored potrace was moved from libs/potrace to
texk/dvisvgm/dvisvgm-src/libs/potrace. Unfortunately, it is not trivial
to remove it from there, so for now dvisvgm seems to be using its
vendored dependencies.
2019-11-06 12:56:10 -05:00
Dmitry Kalinkin 93b2d98726
texlive: UPGRADE.md: Add --location option to allow referrals 2019-11-06 12:56:05 -05:00
R. RyanTM 9925f6e323 dblatex: 0.3.10 -> 0.3.11 2019-11-01 12:03:50 -07:00
volth 8276314608 treewide: fix string escapes 2019-09-16 22:15:38 +00:00
volth 08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
Frederik Rietdijk 5061fe0c2c Merge staging-next into staging 2019-08-28 08:26:42 +02:00
volth 35d68ef143 treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
Vladimír Čunát 2e6bf42a22
Merge branch 'master' into staging-next
There ver very many conflicts, basically all due to
name -> pname+version.  Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job.  There might be some fallback to these
conflicts, but I believe it should be minimal.

Hydra nixpkgs: ?compare=1538299
2019-08-24 08:55:37 +02:00
Dmitry Kalinkin 430f0e14d3
texlive: fix too-long shebang line on Darwin for latexinent 2019-08-19 18:56:36 -04:00
Frederik Rietdijk f65aa21bb2 Merge master into staging-next 2019-08-18 12:53:44 +02:00
Vladimír Čunát ea0aea7280
texlive: remove myself from meta.maintainers
That corresponds to the real situation since a couple years ago.
2019-08-18 10:49:14 +02:00
volth c814d72b51 treewide: name -> pname 2019-08-17 10:54:38 +00:00
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
volth b3cc65f8b9 buildPerlPackage: name -> (pname, version) 2019-06-20 15:56:50 +00:00
clefru 5d14340cba texlive: retain texmf/updmap.cfg and generate texmf-config/updmap.cfg (#58220)
As discussed in
https://github.com/NixOS/nixpkgs/issues/58026#issuecomment-475825057
2019-05-10 08:50:09 -04:00
c0bw3b 9cb260d091 [treewide] delete unused patches 2019-05-04 19:52:24 +02:00
Dmitry Kalinkin b6d0bdf513
texlive: provide bin.texlive on Darwin too
texlive attribute was accidentally added in attrset wrapped with

  stdenv.lib.optionalAttrs (!stdenv.isDarwin)

Fixes: dbc2c1c4b8 ('texlive: add missing perl dependencies for latexindent')
2019-05-03 10:33:04 -04:00
Dmitry Kalinkin 7eeab3726f
Merge pull request #59537 from veprbl/pr/texlive_latexindent_deps
texlive: add missing perl dependencies for latexindent
2019-05-02 12:44:07 -04:00
Mario Rodas 2c6ecba31e
texlive.bin.core-big: add libX11 to buildInputs
metafont requires libX11
2019-05-01 06:10:29 -05:00
Dmitry Kalinkin dbc2c1c4b8
texlive: add missing perl dependencies for latexindent 2019-04-15 11:30:17 -04:00
Dmitry Kalinkin 21d1b195c8
Merge pull request #58939 from Lucus16/latexrun
Add latexrun package
2019-04-05 19:00:16 -04:00
Lars Jellema 8cc7b1cce3
latexrun: init at unstable-2015-11-18 2019-04-03 19:50:00 +02:00
Clemens Fruhwirth 6e71af2746 Create texmf-local directory separate from texmf-dist.
Motivated by https://github.com/NixOS/nixpkgs/issues/58026
2019-03-24 11:47:09 -04:00
Dmitry Kalinkin 7669144a27
texlive: add veprbl to maintainers
cc #56797
2019-03-16 12:04:04 -04:00
Dmitry Kalinkin 2eeb7a9e69
texlive: add tug.org as a mirror for 2018-final 2019-03-07 21:43:49 -05:00
Dmitry Kalinkin 40f55d6870
texlive: 2018 -> 2018-final 2019-03-03 22:07:19 -05:00
Dmitry Kalinkin 8f35ef724a
texlive/combine.nix: fix bugs in languages filter
Initial language.{dat,def} configuration files provided by
`texlive.hyphen-base` may declare languages that were not part of the
combined packages. Those are filtered out by a sed script that had few
problems:

1) The sed script was generated from a list of potentially non-unique
packages. Every repetition of a select and print clause would produce a
copy of a language declaration in the output file. This became a problem
for update to the 2018-final, the fmtutil would crash from too much
German hyphenation.
2) The select clauses were ambiguous: both '^% from hyphen' and
'^% from hyphen-welsh' will match a line 'from hyphen-welsh'.
2019-03-03 22:07:19 -05:00
Dmitry Kalinkin 30364211e6
texlive/combine.nix: clarify implementation of mkUniqueOutPaths
mkUniqueOutPaths used to produce empty paths for dummy packages, this
version strips those out. This does not affect `pkgList.bin` at all, but
`pkgList.nonbin` is affected, so this is not exactly a refactoring. It
should not harm to have a cleaner `paths`.

Also, original comment said "here we deal with those dummy packages
needed for hyphenation filtering". This doesn't seem to be true, the
packages that were really filtered are actually metapackages that
represent collections. I also could not find any dummy packages even in
the originally committed version.
2019-03-03 21:14:04 -05:00
Dmitry Kalinkin 658d83a182
texlive/combine.nix: s/mkUniquePkgs/mkUniqueOutPaths/ 2019-03-03 21:13:09 -05:00
Dmitry Kalinkin a1505f3c6a
texlive: move fastUnique from default.nix to combine.nix 2019-03-03 21:06:10 -05:00
Will Dietz 33b9ddc0a3 texlive: fix w/poppler 0.73.0 2019-01-08 21:40:24 -06:00
Vladimír Čunát e16ec2920a
texlive.bin.core-big: use postPatch from .core
Otherwise it wouldn't build with new poppler either.
(Perhaps not all of it is needed here, but why not apply it all?)
2018-12-25 10:21:36 +01:00
Jan Tojnar 76725778ce
texlive.bin.core: Fix build with poppler 0.72 2018-12-23 03:07:29 +01:00
Mario Rodas 679a1f728e
texlive: fix link to poppler patch 2018-12-08 08:56:32 -05:00
c0bw3b 0498ccd076 Treewide: use HTTPS on GNU domains
HTTP -> HTTPS for :
- http://gnu.org/
- http://www.gnu.org/
- http://elpa.gnu.org/
- http://lists.gnu.org/
- http://gcc.gnu.org/
- http://ftp.gnu.org/ (except in fetchurl mirrors)
- http://bugs.gnu.org/
2018-12-02 15:51:59 +01:00
Markus Kowalewski 142717e3ab
pgf: add license 2018-11-15 09:05:02 +01:00
Markus Kowalewski d458a1869f
pgfplots: add meta data 2018-11-15 09:04:56 +01:00
Markus Kowalewski d190d8af0c
lkproof: add license 2018-11-15 00:13:53 +01:00
Dmitry Kalinkin 20643a7807
texlive: provide repstopdf
repstopdf is supposed to be a symlink to epstopdf. Then epstopdf looks
at "$0" to detect when restricted mode needs to be enabled.  Unfortunately
our wrapper will drop all intermediate symlinks, which messes up "$0".
Restricted mode appears to be a security feature, so a test is
introduced to verify that the wrapper works as expected.
2018-10-29 16:56:45 -04:00
Dmitry Kalinkin 91c304030a texlive: generate MkIV caches
Documentation:
http://www.pragma-ade.com/general/manuals/tools-mkiv.pdf

Fixes: #19279
Closes: #47370
2018-09-27 13:39:28 -04:00
John Ericson c701d6cb21 Merge remote-tracking branch 'upstream/master' into staging 2018-09-25 14:20:27 -04:00
Dmitry Kalinkin 256af6d039 texlive/combine.nix: drop nix1 support (#47294)
Since 7d1968c0e3 ('Nix minimal version: 1.11 -> 2.0') nixpkgs now require nix 2.0+
2018-09-24 22:22:10 +02:00
Robin Gloster ce6e72a11c
texlive: fix missing synctex header
The automake file was patched but `automake` not run.
Also since the texk/web2c folder is not in autoconfig's
SUBDIRS the autoreconfHook has to be run in there.

Completely fixes #46376
2018-09-18 18:33:08 +02:00
Uli Baum 1df2560dde Merge branch 'master' into staging-next 2018-09-13 10:08:53 +02:00
Samuel Dionne-Riel 1ac912bf1b texlive: Adds patch for missing synctex header. (#46376)
This seems like a known issue as other distributions (ArchLinux here)
have patches fixing the issue.

This hopefully fixes more than one dependant builds for ZHF 18.09.
2018-09-09 11:37:29 +02:00
Jan Malakhovski b7bd0561be Merge branch 'master' into staging 2018-09-08 22:08:32 +00:00
Shea Levy 18337f3ece
Merge branch 'no-toPath' 2018-09-06 08:09:53 -04:00
Uli Baum 20d88c1a4b texlive: add IPFS URL for package source snapshot 2018-08-29 11:03:45 +02:00
Uli Baum 831551a9a1 texlive.bin.core-big: disable luatex53
build failed on Darwin
Patch by @veprbl
2018-08-29 11:03:45 +02:00
Uli Baum ac03d2e571 texlive.bin.core-big: remove unneeded compiler flags 2018-08-29 11:03:45 +02:00
Uli Baum 2737f17d38 texlive: add detailed upgrade instructions in separate file 2018-08-29 11:03:45 +02:00
Uli Baum f3961e5dae texlive-packages: snapshot 2017-final -> 20180827
and use fixed hashes
2018-08-29 11:03:44 +02:00
Uli Baum 738bae4ec2 texlive: make packages fixed-output derivations
This reverts a part of the changes made in #40826.
Fixed-output derivations save time and space on rebuilds.
2018-08-29 11:03:44 +02:00
Uli Baum d5816c9bcb texlive: update server URLs 2018-08-29 11:03:44 +02:00
Uli Baum 149b180f18 texlive.bin: 20170524 -> 20180414 2018-08-29 11:03:44 +02:00
CrystalGamma 43eb8b9a93 texlive-bin: disable mfluajit on ppc64(le) (#45475)
LuaJIT currently has no 64-bit Power support and so breaks the build on such platforms.
2018-08-23 15:30:19 +02:00
Will Dietz 2d9bd29cc5 texlive: fix fmtutil invocation, generate all formats
Otherwise they will have to be generated by users lazily,
which is probably not the right trade-off.

Noticed this because lack of formats was causing problems
on a few documents since they will (a TL2018 change, I believe)
attempt to be written to the nix build user's ~/.texlive2018.
2018-08-22 17:33:49 +02:00
Benjamin Hipple c9d55ae426 Set xindy HOME to . 2018-08-09 18:49:35 +02:00
Benjamin Hipple 7c5fd6801b texlive: 2017 -> 2017-final
This commit rebuilds texlive 2017 with the final release of 2017. As described
in these issues [1][2][3], the upstream CTAN mirrors are a continuously moving
rolling release without historical archives.

This particular FTP server is also a rolling release folling CTAN for the latest
version, but it has snapshots of the final texlive releases; it appears that the
2017 distribution has been unmodified since texlive-2018 was released earlier
this year.

Along the way, we needed to fix several issues:
- xindy: if $HOME is unset, it will try to mkdir /homeless-shelter, which fails
  due to insufficient permissions.
- scheme-infraonly: this scheme had symlinks into other releases that were
  read-only, so it couldn't patch and modify the scripts. This commit removes it
  for now, but that's not a particularly satisfying solution. Ideas?

This also adds some documentation on the upgrade process to prepare for
texlive-2018 [4].

This commit also replaces the sha1 hashes with upstream's standard sha512 hashes.
It appears the motivation for the shorter hashes was to save disk space in the
derivations; in master, the size of this directory is 1012K; in this commit it
is 1600K. The difference is not particularly large, and the downsides to using
our own sha1 hashes are:

- More nix code to maintain
- Multi-step upgrade process for maintainers: the maintainer first has to
  download all upstream tarballs by sha512 hash, then run the fix script, then
  rebuild with sha1 hashes.
- Less transparent. If we use the upstream sha512 hashes, any user can
  immediately verify that the hashes we're providing match upstream, or match
  the snapshot in time.
- Easier to debug. Since upstream is rolling and packages may disappear or fail
  to build, it's useful to be able to determine if the sha mismatch is because
  of an update or not; if we have a sha1 mismatch and no tarball to pull, we
  can't figure out which sha512sum would have produced that sha1.
- Less trust required. Due to the above, users don't have to trust the
  content-addressed mirrors on IPFS and @veprbl's servers as much.
- Easier to cobble together a source distribution from a variety of sources. It
  seems some FTP servers have more/less than others, or older/newer packages. If
  we know what we're looking for beforehand and we're just missing a few
  packages whose hashes match the advertised hashes upstream, it's easier to find.

[1] https://github.com/NixOS/nixpkgs/issues/24683
[2] https://github.com/NixOS/nixpkgs/issues/10026
[3] https://github.com/NixOS/nixpkgs/issues/34490
[4] https://github.com/NixOS/nixpkgs/issues/40232
2018-08-09 18:49:35 +02:00
Pascal Wittmann 03dd8aabf9
auctex: add license
see issue #43716
2018-07-22 17:30:15 +02:00
volth 52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Silvan Mosberger a986631655 texlive: Propagate biber binary (#42875) 2018-07-06 00:19:47 +02:00
Vladimír Čunát 606ff955fb
Merge #41921: texlive: Fix 'match-parens' ruby dependency 2018-06-13 15:54:16 +02:00
Josef Kemetmueller 5bf8fd57e1 texlive: Fix 'match-parens' ruby dependency 2018-06-13 13:16:33 +00:00
Shea Levy 6da6accd30
treewide: Remove uses of builtins.toPath.
toPath has confusing semantics and is never necessary; it can always
either just be omitted or replaced by pre-concatenating `/.`. It has
been marked as "!!! obsolete?" for more than 10 years in a C++
comment, hopefully removing it will let us properly deprecate and,
eventually, remove it.
2018-05-22 16:42:02 -04:00
Jan Malakhovski 7438083a4d tree-wide: disable doCheck and doInstallCheck where it fails (the trivial part) 2018-04-25 04:18:46 +00:00
Matthew Justin Bauer 8067d4844e
texlive: add cxxflags for clang
Fixes #37719
2018-03-24 18:11:03 -05:00
Tuomas Tynkkynen 1e107443ad Merge commit '618ac29687a650d854c8bea7efd4490387589ce2' into staging 2018-03-03 22:40:32 +02:00
Robin Gloster e616cd8840
tex4ht: obsoleted by tex4ht in texlive 2018-03-02 11:56:45 +01:00
Shea Levy 1ad37a8c6e
texlive.bin: Fix duplicate patch definition 2018-02-28 19:22:29 -05:00
Tuomas Tynkkynen 34f95d92a2 Merge remote-tracking branch 'upstream/master' into staging
Conflicts:
	pkgs/applications/misc/pytrainer/default.nix
	pkgs/development/tools/pew/default.nix
	pkgs/tools/misc/you-get/default.nix
2018-02-28 20:52:49 +02:00
Will Dietz af73962f45 luatex: add prefix to patch so it applies with default patch flags 2018-02-27 11:13:45 -06:00
Will Dietz 08805e977d texlive: patch luatex to fix crash w/gcc7
Fixes #35839.
2018-02-27 11:10:42 -06:00
Vladimír Čunát 6168c2e45f
Merge master into staging
This is to cleanup the (re-)revert of merge to master.
2018-02-26 22:55:11 +01:00
Ryan Mulligan b27eee31ea auctex: 11.90 -> 12.1
Semi-automatic update; builds on NixOS
2018-02-24 18:35:07 -08:00
Vladimír Čunát 63ca2cc786
Merge #35370: texlive.bin: fix with poppler 0.62 2018-02-24 22:30:23 +01:00
Will Dietz b42b1c8f22
Merge pull request #33698 from dtzWill/fix/texlive-luatex
texlive: don't remove luatex from packages that require it.
2018-02-23 10:26:02 -06:00
Jan Tojnar 32cc682624
texlive.bin: fix compatibility with poppler 0.62 2018-02-23 03:00:47 +01:00
Vladimír Čunát ec99a3de1b
texlive: add comments, whitespace cleanup
Fixes #34490.  The FIXME has been long obsolete.
2018-02-01 15:55:52 +01:00
Will Dietz a0d91e1dc9 texlive: don't remove luatex from packages that require it.
Fixes #31482.
2018-01-10 07:35:23 -06:00
Frederik Rietdijk 1869e7e5b0 Merge remote-tracking branch 'upstream/master' into HEAD 2018-01-01 15:09:55 +01:00
Gabriel Ebner 7dcc307241 texlive: use perl 5.24
See #26890.
2018-01-01 09:47:39 +01:00
John Ericson 4d2b763817
Merge pull request #26805 from obsidiansystems/cross-elegant
Make cross compilation elegant
2017-12-30 22:58:02 -05:00
John Ericson 046f091e0d treewide: Don't use envHook anymore
This commits needs a MAJOR audit as I oftentimes just guessed which of
`$hostOffset`, `$targetOffset`, or a fixed offset should be used.
2017-12-30 22:04:22 -05:00
Dmitry Kalinkin 77b1803830
dblatex: 0.3.7 -> 0.3.10, fixes for the new texlive 2017-12-22 19:55:40 -05:00
Will Dietz fcffee2ec5 texlive: fix use of xdvi: add hashes and don't orphan it
Hashes added manually, not using `fixHashes.sh`.

We remove xdvi from collection-basic and put it elsewhere:
previously this was collection-genericextra but that no longer
exist so I suppose it can go in collection-plainextra.
(As mentioned on the issue, might be best to just leave it in basic?)

Fixes #32661.
2017-12-16 22:51:26 +00:00
Vladimír Čunát 1b555c57ec
texlive: more robust way to fetch
/cc #30332.  Thanks to @vprbl for the http mirror.
2017-12-15 20:13:09 +01:00
Gabriel Ebner 8df38f6dda
Merge pull request #30332 from veprbl/texlive2017
texlive: 2016 -> 2017
2017-12-13 14:51:18 +01:00
Will Dietz 5c81453477 tetex: patch off-by-one to fix segfault
Fixes #32264.

Patch based on one from Fedora texlive-2007-66 source rpm.

References:
https://bugzilla.redhat.com/show_bug.cgi?id=754517
http://tug.org/pipermail/tex-k/2011-July/002317.html
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633011
https://www.mail-archive.com/tetex@dbs.uni-hannover.de/msg00968.html

Redhat discussion suggests this happens when using -Wl,-z,relro
(or other linker flags) that change the default memory layout.
2017-12-09 16:05:49 -06:00
Dmitry Kalinkin 5b42c6f196 texlive: update schemes list 2017-10-30 01:07:51 -04:00
Dmitry Kalinkin ba3c9df01a texlive: fix evaluation on Nix 1.11
The problem was in builtins.partition call. I've tried to rewrite it with
builtins.foldl', but that doesn't help. However replacing it with a pair of
builtins.filter calls works.

diff --git a/lib/lists.nix b/lib/lists.nix
--- a/lib/lists.nix
+++ b/lib/lists.nix
@@ -242,10 +242,10 @@ rec {
        => { right = [ 5 3 4 ]; wrong = [ 1 2 ]; }
   */
   partition = builtins.partition or (pred:
-    foldr (h: t:
+    builtins.foldl' (t: h:
       if pred h
-      then { right = [h] ++ t.right; wrong = t.wrong; }
-      else { right = t.right; wrong = [h] ++ t.wrong; }
+      then { right = t.right ++ [h]; wrong = t.wrong; }
+      else { right = t.right; wrong = t.wrong ++ [h]; }
     ) { right = []; wrong = []; });

   /* Merges two lists of the same size together. If the sizes aren't the same
2017-10-30 00:54:48 -04:00
Dmitry Kalinkin eefa8d4191
texlive: 2016 -> 2017
fmtutil has started to report number of failed formats in its return code. One
could regenerate the share/texmf/web2c/fmtutil.cnf to only include available
.ini files, but simpler solution is to ignore the return code.
2017-10-25 02:38:31 -04:00
Dmitry Kalinkin 19efa65f59
texlive: fix after dependency update 2017-10-19 00:25:24 -04:00
Vladimír Čunát 656a0089f6
texlive.bin.core-big: fixup build after #29039 2017-10-07 10:12:49 +02:00
John Ericson ed14223f8c treewide: Manual fix more pkg-config build-inputs 2017-09-21 15:49:54 -04:00
John Ericson 531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00
Vladimír Čunát 828bc3812c
texlive: add ghostscript when containing pdfcrop
Potential disadvantage: ghostscript will become visible to user,
so there may e.g. be (new) collisions in nix-env due to this.
Fixes #28411.
2017-09-03 10:17:37 +02:00
Tuomas Tynkkynen 1a0f8263fe texlive: Fix fallout from man/info/doc output changes 2017-08-11 21:32:55 +03:00
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
Vladimír Čunát 7d547a6b4c
texlive: switch to a *working* temporary mirror
See #24683.
2017-07-11 15:34:05 +02:00
Vladimír Čunát 8dddd2b672
texlive.combine: fix perl scripts without a shebang
Fixes #24343.  These parts of upstream texlive are really ugly.
Also improve variable quoting in the code around.
2017-07-01 11:28:58 +02:00
Vladimír Čunát 81e46dbb29
texlive: wrap scripts by older perl
Fixes #26890.
2017-07-01 10:42:59 +02:00
Dan Peebles 90b9719f4f treewide: fix the remaining issues with meta attributes 2017-04-29 04:24:34 +00:00
Vladimír Čunát 8c4339a9dc
texlive: fix CVE-2016-10243
https://github.com/NixOS/security/issues/104
2017-03-25 23:03:10 +01:00
Vladimír Čunát 2aff29c7b2
tex4ht: deprecate in favor of texlive.tex4ht
I don't make an alias, as the attribute is used in a different way.
2017-02-11 18:09:43 +01:00
zimbatm 36ac7058d2 tetex: fix source urls 2017-01-24 14:46:33 +00:00
Lancelot SIX abb28a409c auctex: 11.89 -> 11.90
See http://lists.gnu.org/archive/html/info-gnu/2017-01/msg00003.html
for release announcement
2017-01-11 10:46:21 +01:00
Vladimír Čunát 3e6d04da57
texlive: disable xindy on Darwin for now (#20062) 2016-11-07 22:57:41 +01:00
Vladimír Čunát 1cd7466650
Merge #19800: fix clisp + xindy -> texlive on Darwin 2016-10-26 21:01:12 +02:00
Mike Sperber 0fba729ded xindy: add dependency on libiconv
... as the build process invokes iconv.
2016-10-25 10:45:50 +02:00
Frederik Rietdijk b08c00f67d dblatex: use python2 2016-10-18 23:16:07 +02:00
Profpatsch bef6bef0d2
stdenv/stripHash: print to stdout, not to variable
`stripHash` documentation states that it prints out the stripped name to
the stdout, but the function stored the value in `strippedName`
instead.

Basically all usages did something like
`$(stripHash $foo | echo $strippedName)` which is just braindamaged.
Fixed the implementation and all invocations.
2016-10-11 18:34:36 +02:00
Vladimír Čunát 20c6f5c560 texlive: add links to ht* tools, in particular htlatex
This should fix #18480.
2016-09-10 14:58:00 +02:00
Vladimír Čunát 8481eca63c texlive: allow using pkgs.nix with empty hashes
... to enable saving space in git history.
2016-09-04 18:11:18 +02:00
Vladimír Čunát c6376a3e9a texlive: fixup some packages missing from scheme-full
Hopefully they're all now.
2016-09-04 17:56:12 +02:00
Vladimír Čunát 1519a7c94b texlive.bin.src: eradicate the last tug.org download
They're just unstable.
2016-09-04 14:53:32 +02:00
Vladimír Čunát 2217b328f9 texlive: rename the directory texlive-new -> texlive 2016-09-04 14:53:30 +02:00
Vladimír Čunát 171f7d974d Merge commit 'da421bc' into p/texlive-2016
... to allow renaming the directory.
2016-09-04 14:52:04 +02:00
Vladimír Čunát d401df0d24 texlive.xindy: fixup after 2016 update
It's unfortunate that our `substituteInPlace` passes some kinds of
errors in silence.
2016-09-04 14:49:37 +02:00
Vladimír Čunát a787994fef texlive: use a cuni.cz mirror temporarily
... to avoid testers getting hash mismatches.
2016-09-04 14:49:37 +02:00
Vladimír Čunát 9d5f23f025 texlive: fixup some bin/ links, e.g. xe(la)tex 2016-09-04 14:49:36 +02:00
Vladimír Čunát 16829e4bde dblatex: fixup build with texlive-2016
https://github.com/NixOS/nixpkgs/pull/16391#issuecomment-227405183
2016-09-04 14:49:36 +02:00
Vladimír Čunát 7de41b9a4b 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
2016-09-04 14:48:54 +02:00
Domen Kožar da421bc75f Fix #4210: Remove builderDefs
This was one of the ways to build packages, we are trying
hard to minimize different ways so it's easier for newcomers
to learn only one way.

This also:

- removes texLive (old), fixes #14807
- removed upstream-updater, if that code is still used it should be in
  separate repo
- changes a few packages like gitit/mit-scheme to use new texlive
2016-08-31 11:34:46 +02:00
Robin Gloster 33e1c78ae3 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-08-16 07:54:01 +00:00
Vladimír Čunát 4b2120f5b8 Merge #17347: texlive: fix xdvi md5.run 2016-08-14 12:22:50 +02:00
Robin Gloster b7787d932e Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-08-12 09:46:53 +00:00
Vladimír Čunát 6152cf32e3 texlive: drop unused lesstif parameter
Fixes #17359. /cc #16391.
2016-08-09 20:52:58 +02:00
Franz Pletz 0c7f045a7a tex4ht: disable format hardening 2016-08-04 11:09:57 +02:00
Robin Gloster 1b979d8384 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-08-03 13:34:44 +00:00
Tuomas Tynkkynen 21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00
Tuomas Tynkkynen 63de40099f treewide: Move some meta sections to end-of-file
That seems to be the overwhelming convention.
2016-08-02 21:17:44 +03:00
Tuomas Tynkkynen 2258b21e4b treewide: Add lots of platforms to packages with no meta
Build-tested on x86_64 Linux and on Darwin.
2016-08-02 21:17:44 +03:00
Igor Sharonov 9f738fed28 texlive-new: fix wrong xdvi md5.run 2016-07-28 20:50:42 +03:00
Robin Gloster 5185bc1773 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-07-15 14:41:01 +00:00
zimbatm 4f5918cd2e Revert "stdenv: introduce baseHash() to replace stripHash()"
Introduced by mistake

This reverts commit e71a5cb878.
2016-06-25 14:25:58 +01:00
zimbatm e71a5cb878 stdenv: introduce baseHash() to replace stripHash()
stripHash uses a global variable to communicate it's computation
results, but it's not necessary. You can just pipe to stdout in a
subshell. A function mostly behaves like just another command.

baseHash() also introduces a suffix-stripping capability since it's
something the users of the function tend to use.
2016-06-25 14:20:56 +01:00
Nikolay Amiantov 25ae14aa38 Merge pull request #15874 from abbradar/texlive-argv0
texlive-bin: remove detecting of local directory from mktex*
2016-06-23 07:48:26 +04:00
Bjørn Forsman bd01fad0ed Captialize meta.description of all packages
In line with the Nixpkgs manual.

A mechanical change, done with this command:

  find pkgs -name "*.nix" | \
      while read f; do \
          sed -e 's/description\s*=\s*"\([a-z]\)/description = "\u\1/' -i "$f"; \
      done

I manually skipped some:

* Descriptions starting with an abbreviation, a user name or package name
* Frequently generated expressions (haskell-packages.nix)
2016-06-20 13:55:52 +02:00
Vladimír Čunát 7a6ec0a0ee texlive: add xindy binary
Fixes #16207.
2016-06-16 12:53:51 +02:00
Robin Gloster 8031cba2ab Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-06-10 09:27:04 +00:00
Guillaume Maudoux f3a753829d auctex: enable preview 2016-06-05 18:45:09 +02:00
Nikolay Amiantov 4adc660fc5 texlive-bin: remove detecting of local directory from mktex* 2016-05-31 23:54:18 +03:00
Robin Gloster 2d382f3d98 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-05-30 19:39:34 +00:00
Vladimír Čunát 73f1f5eb39 imagemagick: split dev output to fix #9604
Also fixup references to imagemagick.
2016-05-22 13:41:15 +02:00
Franz Pletz f8d481754c
Merge remote-tracking branch 'origin/master' into hardened-stdenv 2016-05-18 17:10:02 +02:00
Peter Simons 8e462995ba Bring my stdenv.lib.maintainers user name in line with my github nick. 2016-05-16 22:49:55 +02:00
Vladimír Čunát 6c2fbfbd77 Merge branch 'master' into staging 2016-05-12 04:53:38 +02:00
Roman Naumann 7abe192b05 texlive-new: update obsolete hashes
This commits mitigates https://github.com/NixOS/nixpkgs/issues/10026.
Thanks to @namore for contributing most of the update!
2016-05-11 13:33:16 +02:00
Nikolay Amiantov 49de0c32bd texlive: restore back exports of TeX paths
Credits for the fix to jraygauthier.
See https://github.com/NixOS/nixpkgs/pull/12768#issuecomment-218050187
2016-05-10 06:33:55 +03:00
Raymond Gauthier 8a4b670a2f texlive.combine: fix build
Recent merge of pull request #14681 broke
the build of some texlive components (e.g.: `xetex`)
that do not include the `./share/texmf/web2c/texmf.cnf`.
This fix should allow these component to build
as before by operating on this file only when
it exits.
2016-05-09 19:29:05 -04:00
zimbatm 9cc724e570 Merge pull request #14681 from jraygauthier/jrg/fix_context_by_patching_luascript_rebased
texlive.combine: also patch `texmfcnf.lua`
2016-05-09 14:37:33 +01:00
Robin Gloster 9820cb1bf2 use dontBuild instead of hacks
changes:
 * buildPhase = "true"
 * buildPhase = ":"
2016-05-04 10:11:04 +00:00
Robin Gloster c92bca56f8 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-05-02 22:58:02 +00:00
Peter Simons 00ac3ac6ce texlive (old): mark build as broken
Reported in https://github.com/NixOS/nixpkgs/issues/14807. It's probably
about time to convert to the new texlive code, which is *much* nicer.
See http://nixos.org/nixpkgs/manual/#sec-language-texlive for details.
2016-04-20 23:13:40 +02:00
Peter Simons c9e300b458 texlive (old): un-break syntax highlighting in Emacs (cosmetic) 2016-04-20 23:13:05 +02:00
Robin Gloster d020caa5b2 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-04-18 13:49:22 +00:00
Eelco Dolstra be8fc33164 texlive-new: Export source tarballs via an attribute
This allows them to be found by find-tarballs.nix (which can only see
fetchurl dependencies if they are attributes, not if they're part of a
string context).
2016-04-18 15:18:21 +02:00
Raymond Gauthier 954f381972 texlive.combine: also patch texmfcnf.lua
Fixes #14463.
2016-04-14 01:15:16 -04:00
Nikolay Amiantov 0435ac8894 texlive.combine: patch paths into texmf.cnf
...instead of environment variables. Close #12768.

(cherry picked from commit acf664814e)
2016-04-14 01:14:53 -04:00
Vladimír Čunát 30f14243c3 Merge branch 'master' into closure-size
Comparison to master evaluations on Hydra:
  - 1255515 for nixos
  - 1255502 for nixpkgs
2016-04-10 11:17:52 +02:00
Vladimír Čunát b6856521ff texlive: comment on a couple of internal functions 2016-04-08 16:39:20 +02:00
Vladimír Čunát ab15a62c68 Merge branch 'master' into closure-size
Beware that stdenv doesn't build. It seems something more will be needed
than just resolution of merge conflicts.
2016-04-01 10:06:01 +02:00
Robin Gloster f60c9df0ba Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-03-28 15:16:29 +00:00
Vladimír Čunát eb4a9d4d9c Revert "texlive.combine: patch paths into texmf.cnf"
This reverts commit acf664814e.
Let's revert until we catch the bugs in this.
2016-03-28 08:51:39 +02:00
Nikolay Amiantov acf664814e texlive.combine: patch paths into texmf.cnf
...instead of environment variables. Close #12768.
2016-03-27 21:20:11 +02:00
Vladimír Čunát e3da83297f texlive: document in nixpkgs manual
Fixes #13240. It's not really better than source-code comments it replaced,
but it's in a better accessible place.
2016-03-27 14:29:18 +02:00
Robin Gloster 3f45f0948d Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-03-15 01:44:24 +00:00
Sander van der Burg e91b9bede0 runLatex: always include basic texlive stuff (thanks to vcunat) 2016-03-08 10:48:42 +00:00
Vladimír Čunát 09af15654f Merge master into closure-size
The kde-5 stuff still didn't merge well.
I hand-fixed what I saw, but there may be more problems.
2016-03-08 09:58:19 +01:00
Franz Pletz aff1f4ab94 Use general hardening flag toggle lists
The following parameters are now available:

  * hardeningDisable
    To disable specific hardening flags
  * hardeningEnable
    To enable specific hardening flags

Only the cc-wrapper supports this right now, but these may be reused by
other wrappers, builders or setup hooks.

cc-wrapper supports the following flags:

  * fortify
  * stackprotector
  * pie (disabled by default)
  * pic
  * strictoverflow
  * format
  * relro
  * bindnow
2016-03-05 18:55:26 +01:00
Robin Gloster 3b4765c9e5 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-02-28 16:32:57 +00:00
zimbatm 69ce5cb656 use the sourceforge mirrors everywhere
find pkgs -name "*.nix" -exec sed -r \
    "s|https?://downloads.sourceforge.net/|mirror://sourceforge/|g" -i {} \;
2016-02-28 12:07:42 +00:00
Vladimír Čunát d039c87984 Merge branch 'master' into closure-size 2016-02-14 08:33:51 +01:00
Robin Gloster 09a3349a79 tetex: turn off format hardening 2016-02-09 00:08:56 +00:00
Robin Gloster bd2d049750 texlive-core-big: turn off format hardening 2016-02-07 13:09:11 +00:00