Unverified Commit b6961755 authored by Connor Baker's avatar Connor Baker Committed by GitHub
Browse files

texlive: allow to add custom mirrors (#433354)

parents 8d7b6470 22e6928b
Loading
Loading
Loading
Loading
+23 −19
Original line number Diff line number Diff line
@@ -41,6 +41,7 @@
  biber-ms,
  makeFontsConf,
  useFixedHashes ? true,
  extraMirrors ? [ ],
  recurseIntoAttrs,
  nixfmt,
}:
@@ -111,6 +112,8 @@ let
  # should be switching to the tlnet-final versions
  # (https://tug.org/historic/).
  mirrors =
    extraMirrors
    ++ (
      if version.final then
        [
          # tlnet-final snapshot; used when texlive.tlpdb is frozen
@@ -129,7 +132,8 @@ let
          # https://tug.org/pipermail/tex-live/2019-November/044456.html
          # https://texlive.info/ MUST appear last (see tlpdbxz)
          "https://texlive.info/tlnet-archive/${version.year}/${version.month}/${version.day}/tlnet"
      ];
        ]
    );

  tlpdbxz = fetchurl {
    urls =