Commit Graph

83 Commits (7b0167204d1db7f65cc0c21e3f2c65ff9b65a738)

Author SHA1 Message Date
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
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01: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 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 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
Dmitry Kalinkin f4ae8d09e7
texlive: remove dvidvi override
Not needed anymore
2019-11-13 16:54:53 -05: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
volth 35d68ef143 treewide: remove redundant quotes 2019-08-26 21:40:19 +00: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
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 a1505f3c6a
texlive: move fastUnique from default.nix to combine.nix 2019-03-03 21:06:10 -05:00
Uli Baum 20d88c1a4b texlive: add IPFS URL for package source snapshot 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 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
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
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
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
Gabriel Ebner 7dcc307241 texlive: use perl 5.24
See #26890.
2018-01-01 09:47:39 +01: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
Dmitry Kalinkin 5b42c6f196 texlive: update schemes list 2017-10-30 01:07:51 -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
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
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 81e46dbb29
texlive: wrap scripts by older perl
Fixes #26890.
2017-07-01 10:42:59 +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 2217b328f9 texlive: rename the directory texlive-new -> texlive 2016-09-04 14:53:30 +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
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
Tuomas Tynkkynen 619710268d treewide: Mass replace 'poppler}/lib' to refer the 'out' output 2016-01-24 10:03:39 +02:00
Vladimír Čunát 17a3f6a6fa icu: split into multiple outputs 2015-10-13 20:18:44 +02:00
Vladimír Čunát 5227fb1dd5 Merge commit staging+systemd into closure-size
Many non-conflict problems weren't (fully) resolved in this commit yet.
2015-10-03 13:33:37 +02:00
Mathnerd314 eb7404d97a all-packages: Use callPackage where possible 2015-09-14 22:27:19 -06:00
Anders Papitto 6b892be9a8 fix updmap invocation in texLive
Close #9430, fixes #9318.
2015-08-24 22:47:05 +02:00
Peter Simons 07fd9384f5 texlive: flip the default for the assertion so that normal users can build it 2015-07-20 16:39:39 +02:00
Peter Simons 32a81524fe release-lib: rename config option "inHydra" to "allowTexliveBuilds"
Also, take the value of that attribute as an argument to the module so
that Hydra maintainers who don't mind building TexLive have a chance to
do so.
2015-07-17 14:13:40 +02:00
Eelco Dolstra 7f54f99656 Don't build texLive in Hydra
It's way too big (texlive-core-2014 alone is > 1.5 GB).
2015-06-25 17:34:08 +02:00
Vladimír Čunát bf414c9d4f Merge 'staging' into closure-size
- there were many easy merge conflicts
- cc-wrapper needed nontrivial changes

Many other problems might've been created by interaction of the branches,
but stdenv and a few other packages build fine now.
2015-04-18 11:22:20 +02:00
Luca Bruno 6af0d6974f Merge branch 'master' into staging 2014-11-10 10:03:52 +01:00
Lengyel Balázs c437ad42ad Updated texlive-base and texlive-lang to 2014-10-24 2014-11-09 14:19:35 +01:00
Eelco Dolstra 7495c61d49 Merge remote-tracking branch 'origin/darwin-clang-stdenv' into staging
Conflicts:
	pkgs/applications/editors/vim/macvim.nix
2014-11-04 14:30:43 +01:00
John Wiegley 436cdb7e87 texlive: add jwiegley as a maintainer 2014-10-13 17:59:05 -05:00
Jascha Geerds 22c9903e0e texlive: Updated to latest release 2014.20140927 2014-10-13 21:21:23 +02:00
Eric Seidel 0577499d74 fix some packages on darwin 2014-09-09 13:54:26 -07:00