···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;