The textlive-new package currently does not build since there is not an 
anonymous ftp server at tug.ctan.org.  The attached patch switches to an http 
server at http://ftp.math.utah.edu.

>From 6396dfce744b2e0b1986116503adc1ade97e9a99 Mon Sep 17 00:00:00 2001
From: Karn Kallio <[email protected]>
Date: Tue, 29 Sep 2015 22:52:02 -0430
Subject: [PATCH] texlive: there is no longer anonymous ftp available at
 tug.ctan.org

---
 pkgs/tools/typesetting/tex/texlive-new/default.nix | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkgs/tools/typesetting/tex/texlive-new/default.nix b/pkgs/tools/typesetting/tex/texlive-new/default.nix
index 961fbc2..c8b2a41 100644
--- a/pkgs/tools/typesetting/tex/texlive-new/default.nix
+++ b/pkgs/tools/typesetting/tex/texlive-new/default.nix
@@ -129,7 +129,7 @@ let
       urlPrefix = args.urlPrefix or
         ("${mirror}/pub/tex/historic/systems/texlive/${bin.texliveYear}/tlnet-final/archive");
       # beware: standard mirrors http://mirror.ctan.org/ don't have releases
-      mirror = "ftp://tug.ctan.org";; # also works: ftp.math.utah.edu but same IP
+      mirror = "http://ftp.math.utah.edu";; # ftp://tug.ctan.org no longer works, although same IP
     in  ''
           tar -xf '${ fetchurl { inherit url md5; } }' \
             '--strip-components=${toString stripPrefix}' \
-- 
2.4.4

_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to