Skip to content

Commit 30205d7

Browse files
committed
texlive: disable revisioned tarballs for now
1 parent c62ae96 commit 30205d7

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

pkgs/tools/typesetting/tex/texlive/default.nix

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,11 @@ let
9999
urls = args.urls or (if args ? url then [ args.url ] else
100100
lib.concatMap
101101
(up: [
102-
"${up}/${urlName}.r${toString revision}.tar.xz"
103-
"${up}/${urlName}.tar.xz" # TODO To be removed for telive 2020
102+
# Only ~11% of packages in texlive 2019 have revisions, so
103+
# the number of requests is nearly doubled if we lookup
104+
# the name with revision
105+
# "${up}/${urlName}.r${toString revision}.tar.xz"
106+
"${up}/${urlName}.tar.xz" # TODO To be removed for texlive 2020?
104107
])
105108
urlPrefixes);
106109

0 commit comments

Comments
 (0)