···5757 # need to be used instead. Ideally, for the release branches of NixOS we
5858 # should be switching to the tlnet-final versions
5959 # (https://tug.org/historic/).
6060- mirrors = lib.optionals version.final [
6060+ mirrors = if version.final then [
6161 # tlnet-final snapshot; used when texlive.tlpdb is frozen
6262 # the TeX Live yearly freeze typically happens in mid-March
6363 "http://ftp.math.utah.edu/pub/tex/historic/systems/texlive/${toString version.texliveYear}/tlnet-final"
6464 "ftp://tug.org/texlive/historic/${toString version.texliveYear}/tlnet-final"
6565- ] ++ [
6565+ ] else [
6666 # CTAN mirrors
6767 "https://mirror.ctan.org/systems/texlive/tlnet"
6868 # daily snapshots hosted by one of the texlive release managers;