texlive: use historic mirrors only for final releases (#394567)

authored by

Vincenzo Mantova and committed by
GitHub
7ace4543 e2f504bb

+2 -2
+2 -2
pkgs/tools/typesetting/tex/texlive/default.nix
··· 57 # need to be used instead. Ideally, for the release branches of NixOS we 58 # should be switching to the tlnet-final versions 59 # (https://tug.org/historic/). 60 - mirrors = lib.optionals version.final [ 61 # tlnet-final snapshot; used when texlive.tlpdb is frozen 62 # the TeX Live yearly freeze typically happens in mid-March 63 "http://ftp.math.utah.edu/pub/tex/historic/systems/texlive/${toString version.texliveYear}/tlnet-final" 64 "ftp://tug.org/texlive/historic/${toString version.texliveYear}/tlnet-final" 65 - ] ++ [ 66 # CTAN mirrors 67 "https://mirror.ctan.org/systems/texlive/tlnet" 68 # daily snapshots hosted by one of the texlive release managers;
··· 57 # need to be used instead. Ideally, for the release branches of NixOS we 58 # should be switching to the tlnet-final versions 59 # (https://tug.org/historic/). 60 + mirrors = if version.final then [ 61 # tlnet-final snapshot; used when texlive.tlpdb is frozen 62 # the TeX Live yearly freeze typically happens in mid-March 63 "http://ftp.math.utah.edu/pub/tex/historic/systems/texlive/${toString version.texliveYear}/tlnet-final" 64 "ftp://tug.org/texlive/historic/${toString version.texliveYear}/tlnet-final" 65 + ] else [ 66 # CTAN mirrors 67 "https://mirror.ctan.org/systems/texlive/tlnet" 68 # daily snapshots hosted by one of the texlive release managers;