Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[20.03] texlive: 2019 -> 2019-final #82676

Merged
merged 5 commits into from Mar 17, 2020

Conversation

veprbl
Copy link
Member

@veprbl veprbl commented Mar 15, 2020

Motivation for this change

To provide the latest most stable version of texlive for NixOS 20.03. This provides a stable downloads mirrored by many institutions across the world.

Backports #82199
This provides a fix for bug #81544

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

cc @NixOS/nixos-release-managers

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.

(cherry picked from commit d9fb53d)
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.

(cherry picked from commit 9752593)
(cherry picked from commit 9c4212c)
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

(cherry picked from commit 9f44a61)
@veprbl veprbl added this to the 20.03 milestone Mar 15, 2020
@veprbl
Copy link
Member Author

veprbl commented Mar 16, 2020

This causes a regression in nuweb

@veprbl
Copy link
Member Author

veprbl commented Mar 16, 2020

Opened #82712

@veprbl
Copy link
Member Author

veprbl commented Mar 16, 2020

Here is a report from nixpkgs-review:

7 package failed to build:
modem-manager-gui nuweb python37Packages.rpy2 python38Packages.rpy2 sage sageWithDoc texlive.combined.scheme-infraonly

94 package built:
R adapta-gtk-theme asciidocFull asciidoc-full-with-plugins asymptote auctex autofs5 biber btrbk cddlib chrome-gnome-shell dblatex dblatexFull denemo digikam disorderfs dwarf-fortress-packages.dwarf-fortress-full dwarf-fortress-packages.dwarf-therapist dwarf-fortress-packages.dwarf-therapist-original eclib enblendenfuse eukleides frescobaldi gfan giac giac-with-xcas gnome3.gnome-control-center gnome3.gnome-session gnome3.gnome-shell gnome3.gnome-terminal gnome3.gnome-tweak-tool gnome3.pomodoro gnomeExtensions.gsconnect gp2c herwig hugin ipe lcalc lilypond lilypond-unstable lilypond-with-fonts manim mcgrid mitscheme mitschemeX11 ne openmolcas pantheon.elementary-session-settings pari perl528Packages.Po4a perl530Packages.Po4a polymake pynac python27Packages.cypari2 python27Packages.cysignals python27Packages.fpylll python27Packages.pplpy python27Packages.pypandoc rivet python27Packages.rpy2 python27Packages.sphinxcontrib-tikz python37Packages.cypari2 python37Packages.cysignals python37Packages.fpylll python37Packages.pplpy python37Packages.pypandoc python37Packages.sphinxcontrib-tikz python38Packages.cypari2 python38Packages.cysignals python38Packages.fpylll python38Packages.pplpy python38Packages.pypandoc python38Packages.sphinxcontrib-tikz rWrapper rstudio rstudioWrapper sherpa singular skribilo solfege sssd sympow texlive.combined.scheme-basic texlive.combined.scheme-context texlive.combined.scheme-full texlive.combined.scheme-gust texlive.combined.scheme-medium texlive.combined.scheme-minimal texlive.combined.scheme-small texlive.combined.scheme-tetex texmacs thepeg uberwriter udiskie

The failure in texlive.combined.scheme-infraonly is a known one and is irrelevant.

(cherry picked from commit 2217b1d)
@veprbl veprbl merged commit ec0923f into NixOS:release-20.03 Mar 17, 2020
@veprbl veprbl deleted the pr/texlive_2019_final_20.03 branch December 1, 2020 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants