build: use working texlive mirror
This commit is contained in:
parent
329834c0f7
commit
2f6bcb19b8
2 changed files with 43 additions and 6 deletions
27
build/texlive-url-mirror.patch
Normal file
27
build/texlive-url-mirror.patch
Normal file
|
@ -0,0 +1,27 @@
|
|||
diff --git a/pkgs/tools/typesetting/tex/texlive/bin.nix b/pkgs/tools/typesetting/tex/texlive/bin.nix
|
||||
index 5591f64cee..2bdbfd50a7 100644
|
||||
--- a/pkgs/tools/typesetting/tex/texlive/bin.nix
|
||||
+++ b/pkgs/tools/typesetting/tex/texlive/bin.nix
|
||||
@@ -20,7 +20,7 @@ let
|
||||
common = rec {
|
||||
src = fetchurl {
|
||||
url = # "ftp://tug.org/historic/systems/texlive/${year}/"
|
||||
- "http://lipa.ms.mff.cuni.cz/~cunav5am/nix/texlive-2016" # FIXME: a proper mirror
|
||||
+ "http://146.185.144.154/texlive-2016/"
|
||||
+ "/texlive-${year}0523b-source.tar.xz";
|
||||
sha256 = "1v91vahxlxkdra0qz3f132vvx5d9cx2jy84yl1hkch0agyj2rcx8";
|
||||
};
|
||||
diff --git a/pkgs/tools/typesetting/tex/texlive/default.nix b/pkgs/tools/typesetting/tex/texlive/default.nix
|
||||
index 692f6b1772..21463dc367 100644
|
||||
--- a/pkgs/tools/typesetting/tex/texlive/default.nix
|
||||
+++ b/pkgs/tools/typesetting/tex/texlive/default.nix
|
||||
@@ -109,8 +109,7 @@ let
|
||||
fixedHash = fixedHashes.${tlName} or null; # be graceful about missing hashes
|
||||
|
||||
url = args.url or "${urlPrefix}/${urlName}.tar.xz";
|
||||
- urlPrefix = args.urlPrefix or
|
||||
- http://lipa.ms.mff.cuni.cz/~cunav5am/nix/texlive-2016;
|
||||
+ urlPrefix = http://146.185.144.154/texlive-2016;
|
||||
# XXX XXX XXX FIXME: mirror the snapshot XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX
|
||||
# ("${mirror}/pub/tex/historic/systems/texlive/${bin.texliveYear}/tlnet-final/archive");
|
||||
#mirror = "http://ftp.math.utah.edu";
|
Loading…
Add table
Add a link
Reference in a new issue