summary refs log tree commit diff
path: root/pkgs/tools/typesetting/tex/texlive/default.nix
diff options
context:
space:
mode:
authorUli Baum <xeji@cat3.de>2018-08-22 02:26:00 +0200
committerUli Baum <xeji@cat3.de>2018-08-29 11:03:44 +0200
commitd5816c9bcb170281ba2b13acb0f19edf4b3cd1c4 (patch)
treeda2c4cba0c8b5ed4f9c513ffac742ba03225d409 /pkgs/tools/typesetting/tex/texlive/default.nix
parent149b180f180df8087f6559a0e7fc4ee37aa2dcf5 (diff)
downloadnixlib-d5816c9bcb170281ba2b13acb0f19edf4b3cd1c4.tar
nixlib-d5816c9bcb170281ba2b13acb0f19edf4b3cd1c4.tar.gz
nixlib-d5816c9bcb170281ba2b13acb0f19edf4b3cd1c4.tar.bz2
nixlib-d5816c9bcb170281ba2b13acb0f19edf4b3cd1c4.tar.lz
nixlib-d5816c9bcb170281ba2b13acb0f19edf4b3cd1c4.tar.xz
nixlib-d5816c9bcb170281ba2b13acb0f19edf4b3cd1c4.tar.zst
nixlib-d5816c9bcb170281ba2b13acb0f19edf4b3cd1c4.zip
texlive: update server URLs
Diffstat (limited to 'pkgs/tools/typesetting/tex/texlive/default.nix')
-rw-r--r--pkgs/tools/typesetting/tex/texlive/default.nix21
1 files changed, 15 insertions, 6 deletions
diff --git a/pkgs/tools/typesetting/tex/texlive/default.nix b/pkgs/tools/typesetting/tex/texlive/default.nix
index ba03956ac325..e4799e39c434 100644
--- a/pkgs/tools/typesetting/tex/texlive/default.nix
+++ b/pkgs/tools/typesetting/tex/texlive/default.nix
@@ -121,18 +121,27 @@ let
               map (up: "${up}/${urlName}.tar.xz") urlPrefixes
             );
 
-      # Upstream refuses to distribute stable tarballs, so we host snapshots on IPFS.
+      # Upstream refuses to distribute stable tarballs,
+      # so we host snapshots on IPFS or on our own servers.
       # Common packages should get served from the binary cache anyway.
       # See discussions, e.g. https://github.com/NixOS/nixpkgs/issues/24683
       urlPrefixes = args.urlPrefixes or [
-        # Should be stable for historic, archived releases
-        http://ftp.math.utah.edu/pub/tex/historic/systems/texlive/2017/tlnet-final/archive
+        # A snapshot temporarily hosted by @xeji.
+        # TODO: remove when there is a reliable long-term solution
+        https://cat3.de/texlive-2018/tlnet/archive
+
+        # TODO: Add another snapshot mirror
 
-        # TODO: Add IPFS and see if @veprbl is willing to add a texlive-2017-final mirror,
-        # or if we should just dump it and go to 2018.
+        # TODO: Add IPFS storage or host snapshot elsewhere,
+        # maybe on one of our project's servers
 
         # The canonical source moves quickly and will be broken almost immediately
-        # http://mirror.ctan.org/tex-archive/systems/texlive/tlnet/archive
+        http://mirror.ctan.org/tex-archive/systems/texlive/tlnet/archive
+
+        # Should be stable for historic, archived releases
+        # http://ftp.math.utah.edu/pub/tex/historic/systems/texlive/2018/tlnet-final/archive
+        # TODO: use this later when 2018 is archived
+
       ];
 
       src = fetchurl { inherit urls sha512; };