Skip to content

texlive*: fails to build with docs #504525

Description

@MithicSpirit

Nixpkgs version

  • Unstable (26.05)

Describe the bug

The texlive packages fail to build with docs due to 404 errors in the ctan mirrors.

Steps to reproduce

Try to build texliveSmall.__overrideTeXConfig {withDocs = true;}. It may be necessary to use --repair if the docs are already cached.

Expected behaviour

The derivation should build correctly, as in commit b40629e (for example).

Screenshots

No response

Relevant log output

these 28 derivations will be built:
  /nix/store/788xfahwik66q8aa9h47wm1x3jgqznk5-tex4ebook.doc.r75774.tar.xz.drv
  /nix/store/2k60yg06chp1wkpbawy5fabb8ccqqdgs-tex4ebook-0.4c-texdoc.drv
  /nix/store/2wfhq6gym483g47nzba0b0m6q9w51grb-lua-unicode-math.doc.r77378.tar.xz.drv
  /nix/store/n9msl9718i45zijiaysgxai4kdc6rw50-tex4ht.doc.r77565.tar.xz.drv
  /nix/store/4n3i51k4wabzq68lf82ajqmk2mv8zwgv-tex4ht-77565-texdoc.drv
  /nix/store/66l9i53lc5841yhfi3w6z6jsppcr9y25-lwarp.doc.r77064.tar.xz.drv
  /nix/store/xkrpad5fbr4mfpf1qrrv77bxwh8zrmzr-ltx-talk.doc.r77540.tar.xz.drv
  /nix/store/7i99cp2izx3a6iyc89iil3gz3dpasq23-ltx-talk-0.4.0-texdoc.drv
  /nix/store/c4lwdz84yzyfgfp1dk7i6wbxcc2bhm4z-babel-german.doc.r77543.tar.xz.drv
  /nix/store/fmprsv1hah97i7hvk9dgyxqzbjsc0c6f-l3backend-dev.doc.r76924.tar.xz.drv
  /nix/store/ij47077r2zrkv5ndnnbhb4v9xqsfkjkr-babel-german-2.99b-texdoc.drv
  /nix/store/y94lq6rq13lgygh2i168cr6fjcqpnw0b-luamml.doc.r76924.tar.xz.drv
  /nix/store/iykcg53k900sv3b5b0a2bgz4ngxisg4n-luamml-0.7.0-texdoc.drv
  /nix/store/m35vbbdgvxvg5kg4023aspsi30vss88j-l3backend-dev-76924-texdoc.drv
  /nix/store/mbsz68skmss6fwx1wxy1qa518if8i6a8-lwarp-0.920-texdoc.drv
  /nix/store/sj7kh3c1bcsd3nsmmggkb91glgn59bki-lua-unicode-math-0.6-texdoc.drv
  /nix/store/r6fx6918g0x8gcgqv96wndrkrfyw7axz-l3kernel-dev.doc.r77413.tar.xz.drv
  /nix/store/v1knjsbb02dklsva9rc6lxz6p7x11q2p-l3kernel-dev-77413-texdoc.drv
  /nix/store/zkqg2xh7q5hmh2yj5s9sm8zwy55fh4gh-babel.doc.r77491.tar.xz.drv
  /nix/store/wkagm9nak4p1fhbc4avbmfz46bkk82dd-babel-26.2-texdoc.drv
  /nix/store/pjcazyi0r250fy6r6rrzj20qvs484rs7-amsmath.doc.r76708.tar.xz.drv
  /nix/store/xqc56vkcnf6lk7wyaf7dj350mfx6kv88-amsmath-76708-texdoc.drv
  /nix/store/vwj4fvagbjl33qpy0v3ljf4s9nyj4lmn-microtype.doc.r75729.tar.xz.drv
  /nix/store/z2pd75vyxh3hh9fx42gbivmsgyyaqz9g-microtype-3.2b-texdoc.drv
  /nix/store/gfinvh8i9rddw3fiyxnmww17y5f1spzr-texlive-2025-r77567-env.drv
  /nix/store/j3p0dd4n850pzv3xdkg9pag0h1qd3kfb-texlive-2025-r77567-env-texmfroot.drv
  /nix/store/g7r6phi0vz9jnwkjqmqwwiqz2sm60cbg-fonts.conf.drv
  /nix/store/zh8lydzndkkmhz3jy5nvmxcwv1qa0hz1-texlive-2025-r77567-env.drv
building '/nix/store/pjcazyi0r250fy6r6rrzj20qvs484rs7-amsmath.doc.r76708.tar.xz.drv'...
building '/nix/store/c4lwdz84yzyfgfp1dk7i6wbxcc2bhm4z-babel-german.doc.r77543.tar.xz.drv'...
building '/nix/store/zkqg2xh7q5hmh2yj5s9sm8zwy55fh4gh-babel.doc.r77491.tar.xz.drv'...
building '/nix/store/fmprsv1hah97i7hvk9dgyxqzbjsc0c6f-l3backend-dev.doc.r76924.tar.xz.drv'...
building '/nix/store/r6fx6918g0x8gcgqv96wndrkrfyw7axz-l3kernel-dev.doc.r77413.tar.xz.drv'...
building '/nix/store/xkrpad5fbr4mfpf1qrrv77bxwh8zrmzr-ltx-talk.doc.r77540.tar.xz.drv'...
building '/nix/store/2wfhq6gym483g47nzba0b0m6q9w51grb-lua-unicode-math.doc.r77378.tar.xz.drv'...
building '/nix/store/y94lq6rq13lgygh2i168cr6fjcqpnw0b-luamml.doc.r76924.tar.xz.drv'...
building '/nix/store/66l9i53lc5841yhfi3w6z6jsppcr9y25-lwarp.doc.r77064.tar.xz.drv'...
building '/nix/store/vwj4fvagbjl33qpy0v3ljf4s9nyj4lmn-microtype.doc.r75729.tar.xz.drv'...
building '/nix/store/788xfahwik66q8aa9h47wm1x3jgqznk5-tex4ebook.doc.r75774.tar.xz.drv'...
building '/nix/store/n9msl9718i45zijiaysgxai4kdc6rw50-tex4ht.doc.r77565.tar.xz.drv'...
structuredAttrs is enabled

trying https://mirror.ctan.org/systems/texlive/tlnet/archive/amsmath.doc.r76708.tar.xz
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
structuredAttrs is enabled

trying https://mirror.ctan.org/systems/texlive/tlnet/archive/babel-german.doc.r77543.tar.xz
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
structuredAttrs is enabled

trying https://mirror.ctan.org/systems/texlive/tlnet/archive/babel.doc.r77491.tar.xz
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
structuredAttrs is enabled

trying https://mirror.ctan.org/systems/texlive/tlnet/archive/l3backend-dev.doc.r76924.tar.xz
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
structuredAttrs is enabled

trying https://mirror.ctan.org/systems/texlive/tlnet/archive/l3kernel-dev.doc.r77413.tar.xz
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
structuredAttrs is enabled

trying https://mirror.ctan.org/systems/texlive/tlnet/archive/ltx-talk.doc.r77540.tar.xz
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
structuredAttrs is enabled

trying https://mirror.ctan.org/systems/texlive/tlnet/archive/lua-unicode-math.doc.r77378.tar.xz
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
structuredAttrs is enabled

trying https://mirror.ctan.org/systems/texlive/tlnet/archive/luamml.doc.r76924.tar.xz
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
structuredAttrs is enabled
structuredAttrs is enabled
structuredAttrs is enabled
structuredAttrs is enabled

trying https://mirror.ctan.org/systems/texlive/tlnet/archive/lwarp.doc.r77064.tar.xz
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed

trying https://mirror.ctan.org/systems/texlive/tlnet/archive/microtype.doc.r75729.tar.xz
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed

trying https://mirror.ctan.org/systems/texlive/tlnet/archive/tex4ebook.doc.r75774.tar.xz
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed

trying https://mirror.ctan.org/systems/texlive/tlnet/archive/tex4ht.doc.r77565.tar.xz
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
100    334 100    334   0      0    930      0                              0
100    355 100    355   0      0    999      0                              0
100    334 100    334   0      0    947      0                              0
100    356 100    356   0      0   1007      0                              0
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404
Warning: Problem (retrying all errors). Will retry in 1 second. 3 retries left.
100    343 100    343   0      0    971      0                              0
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404
Warning: Problem (retrying all errors). Will retry in 1 second. 3 retries left.
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404
Warning: Problem (retrying all errors). Will retry in 1 second. 3 retries left.
100    323 100    323   0      0    906      0                              0
100    343 100    343   0      0    961      0                              0
100    335 100    335   0      0    942      0                              0
100    332 100    332   0      0    938      0                              0
100    351 100    351   0      0    993      0                              0
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404
Warning: Problem (retrying all errors). Will retry in 1 second. 3 retries left.
100    352 100    352   0      0    994      0                              0
100    333 100    333   0      0    938      0                              0
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404
Warning: Problem (retrying all errors). Will retry in 1 second. 3 retries left.
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404
Warning: Problem (retrying all errors). Will retry in 1 second. 3 retries left.
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404
Warning: Problem (retrying all errors). Will retry in 1 second. 3 retries left.
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404
Warning: Problem (retrying all errors). Will retry in 1 second. 3 retries left.
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404
Warning: Problem (retrying all errors). Will retry in 1 second. 3 retries left.
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404
Warning: Problem (retrying all errors). Will retry in 1 second. 3 retries left.
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404
Warning: Problem (retrying all errors). Will retry in 1 second. 3 retries left.
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404
Warning: Problem (retrying all errors). Will retry in 1 second. 3 retries left.
100    327 100    327   0      0   2802      0                              0
100    334 100    334   0      0   2862      0                              0
100    328 100    328   0      0   2813      0                              0
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404
Warning: Problem (retrying all errors). Will retry in 2 seconds. 2 retries 
Warning: left.
100    347 100    347   0      0   2944      0                              0
100    347 100    347   0      0   2930      0                              0
100    355 100    355   0      0   3026      0                              0
100    346 100    346   0      0   2943      0                              0
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404
Warning: Problem (retrying all errors). Will retry in 2 seconds. 2 retries 
Warning: left.
100    351 100    351   0      0   2973      0                              0
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404
Warning: Problem (retrying all errors). Will retry in 2 seconds. 2 retries 
Warning: left.
100    321 100    321   0      0   2595      0                              0
100    349 100    349   0      0   2827      0                              0
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404
Warning: Problem (retrying all errors). Will retry in 2 seconds. 2 retries 
Warning: left.
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404
Warning: Problem (retrying all errors). Will retry in 2 seconds. 2 retries 
Warning: left.
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404
Warning: Problem (retrying all errors). Will retry in 2 seconds. 2 retries 
Warning: left.
100    352 100    352   0      0   3019      0                              0
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404
Warning: Problem (retrying all errors). Will retry in 2 seconds. 2 retries 
Warning: left.
100    324 100    324   0      0   2802      0                              0
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404
Warning: Problem (retrying all errors). Will retry in 2 seconds. 2 retries 
Warning: left.
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404
Warning: Problem (retrying all errors). Will retry in 2 seconds. 2 retries 
Warning: left.
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404
Warning: Problem (retrying all errors). Will retry in 2 seconds. 2 retries 
Warning: left.
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404
Warning: Problem (retrying all errors). Will retry in 2 seconds. 2 retries 
Warning: left.
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404
Warning: Problem (retrying all errors). Will retry in 2 seconds. 2 retries 
Warning: left.
100    350 100    350   0      0   2917      0                              0
100    327 100    327   0      0   2783      0                              0
100    328 100    328   0      0   2809      0                              0
100    346 100    346   0      0   2962      0                              0
100    348 100    348   0      0   2988      0                              0
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404
Warning: Problem (retrying all errors). Will retry in 4 seconds. 1 retry left.
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404
Warning: Problem (retrying all errors). Will retry in 4 seconds. 1 retry left.
100    347 100    347   0      0   2945      0                              0
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404
Warning: Problem (retrying all errors). Will retry in 4 seconds. 1 retry left.
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404
Warning: Problem (retrying all errors). Will retry in 4 seconds. 1 retry left.
100    348 100    348   0      0   3010      0                              0
100    355 100    355   0      0   3066      0                              0
100    333 100    333   0      0   2872      0                              0
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404
Warning: Problem (retrying all errors). Will retry in 4 seconds. 1 retry left.
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404
Warning: Problem (retrying all errors). Will retry in 4 seconds. 1 retry left.
100    339 100    339   0      0   2866      0                              0
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404
Warning: Problem (retrying all errors). Will retry in 4 seconds. 1 retry left.
100    324 100    324   0      0   2781      0                              0
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404
Warning: Problem (retrying all errors). Will retry in 4 seconds. 1 retry left.
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404
Warning: Problem (retrying all errors). Will retry in 4 seconds. 1 retry left.
100    324 100    324   0      0   2795      0                              0
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404
Warning: Problem (retrying all errors). Will retry in 4 seconds. 1 retry left.
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404
Warning: Problem (retrying all errors). Will retry in 4 seconds. 1 retry left.
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404
Warning: Problem (retrying all errors). Will retry in 4 seconds. 1 retry left.
100    350 100    350   0      0   2829      0                              0
100    355 100    355   0      0   3039      0                              0
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404

trying https://texlive.info/tlnet-archive/2026/02/02/tlnet/archive/amsmath.doc.r76708.tar.xz
100    347 100    347   0      0   2967      0                              0
100    354 100    354   0      0   3038      0                              0
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
100    348 100    348   0      0   2962      0                              0
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404

trying https://texlive.info/tlnet-archive/2026/02/02/tlnet/archive/babel.doc.r77491.tar.xz
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404
100    359 100    359   0      0   3053      0                              0

trying https://texlive.info/tlnet-archive/2026/02/02/tlnet/archive/l3backend-dev.doc.r76924.tar.xz
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
  0      0   0      0   0      0      0      0                              0
curl: (7) Failed to connect to texlive.info port 443 after 137 ms: Could not connect to server
Warning: Problem (retrying all errors). Will retry in 1 second. 3 retries left.
100    347 100    347   0      0   2976      0                              0
100    348 100    348   0      0   2970      0                              0
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404

trying https://texlive.info/tlnet-archive/2026/02/02/tlnet/archive/babel-german.doc.r77543.tar.xz
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
  0      0   0      0   0      0      0      0                              0
curl: (7) Failed to connect to texlive.info port 443 after 137 ms: Could not connect to server
Warning: Problem (retrying all errors). Will retry in 1 second. 3 retries left.
  0      0   0      0   0      0      0      0                              0
curl: (7) Failed to connect to texlive.info port 443 after 138 ms: Could not connect to server
Warning: Problem (retrying all errors). Will retry in 1 second. 3 retries left.
100    335 100    335   0      0   2843      0                              0
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404

trying https://texlive.info/tlnet-archive/2026/02/02/tlnet/archive/luamml.doc.r76924.tar.xz
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
  0      0   0      0   0      0      0      0                              0
                                 Dload  Upload  Total   Spent   Left   Speed
curl: (22) The requested URL returned error: 404

trying https://texlive.info/tlnet-archive/2026/02/02/tlnet/archive/lwarp.doc.r77064.tar.xz
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
100    341 100    341   0      0   2945      0                              0
100    352 100    352   0      0   3027      0                              0
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404

trying https://texlive.info/tlnet-archive/2026/02/02/tlnet/archive/lua-unicode-math.doc.r77378.tar.xz
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404
  0      0   0      0   0      0      0      0                              0
curl: (7) Failed to connect to texlive.info port 443 after 137 ms: Could not connect to server
Warning: Problem (retrying all errors). Will retry in 1 second. 3 retries left.

trying https://texlive.info/tlnet-archive/2026/02/02/tlnet/archive/ltx-talk.doc.r77540.tar.xz
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404

trying https://texlive.info/tlnet-archive/2026/02/02/tlnet/archive/tex4ht.doc.r77565.tar.xz
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
  0      0   0      0   0      0      0      0                              0
curl: (7) Failed to connect to texlive.info port 443 after 138 ms: Could not connect to server
Warning: Problem (retrying all errors). Will retry in 1 second. 3 retries left.
  0      0   0      0   0      0      0      0                              0
curl: (7) Failed to connect to texlive.info port 443 after 138 ms: Could not connect to server
Warning: Problem (retrying all errors). Will retry in 1 second. 3 retries left.
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404

trying https://texlive.info/tlnet-archive/2026/02/02/tlnet/archive/l3kernel-dev.doc.r77413.tar.xz
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
100    324 100    324   0      0   2800      0                              0
  0      0   0      0   0      0      0      0                              0
  0      0   0      0   0      0      0      0                              0
curl: (7) Failed to connect to texlive.info port 443 after 137 ms: Could not connect to server
Warning: Problem (retrying all errors). Will retry in 1 second. 3 retries left.
curl: (7) Failed to connect to texlive.info port 443 after 138 ms: Could not connect to server
Warning: Problem (retrying all errors). Will retry in 1 second. 3 retries left.
  0      0   0      0   0      0      0      0                              0
curl: (7) Failed to connect to texlive.info port 443 after 139 ms: Could not connect to server
Warning: Problem (retrying all errors). Will retry in 1 second. 3 retries left.
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404

trying https://texlive.info/tlnet-archive/2026/02/02/tlnet/archive/tex4ebook.doc.r75774.tar.xz
  0      0   0      0   0      0      0      0                              0
curl: (22) The requested URL returned error: 404
  0      0   0      0   0      0      0      0                              0
curl: (7) Failed to connect to texlive.info port 443 after 139 ms: Could not connect to server
Warning: Problem (retrying all errors). Will retry in 1 second. 3 retries left.

trying https://texlive.info/tlnet-archive/2026/02/02/tlnet/archive/microtype.doc.r75729.tar.xz
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
  0      0   0      0   0      0      0      0                              0
curl: (7) Failed to connect to texlive.info port 443 after 137 ms: Could not connect to server
Warning: Problem (retrying all errors). Will retry in 1 second. 3 retries left.
  0      0   0      0   0      0      0      0                              0
curl: (7) Failed to connect to texlive.info port 443 after 140 ms: Could not connect to server
Warning: Problem (retrying all errors). Will retry in 1 second. 3 retries left.
  0      0   0      0   0      0      0      0                              0
curl: (7) Failed to connect to texlive.info port 443 after 137 ms: Could not connect to server
Warning: Problem (retrying all errors). Will retry in 2 seconds. 2 retries 
Warning: left.
  0      0   0      0   0      0      0      0                              0
curl: (7) Failed to connect to texlive.info port 443 after 137 ms: Could not connect to server
Warning: Problem (retrying all errors). Will retry in 2 seconds. 2 retries 
Warning: left.
  0      0   0      0   0      0      0      0                              0
curl: (7) Failed to connect to texlive.info port 443 after 137 ms: Could not connect to server
Warning: Problem (retrying all errors). Will retry in 2 seconds. 2 retries 
Warning: left.
  0      0   0      0   0      0      0      0                              0
curl: (7) Failed to connect to texlive.info port 443 after 138 ms: Could not connect to server
Warning: Problem (retrying all errors). Will retry in 2 seconds. 2 retries 
Warning: left.
  0      0   0      0   0      0      0      0                              0
  0      0   0      0   0      0      0      0                              0
curl: (7) Failed to connect to texlive.info port 443 after 175 ms: Could not connect to server
curl: (7) Failed to connect to texlive.info port 443 after 167 ms: Could not connect to server
Warning: Problem (retrying all errors). Will retry in 2 seconds. 2 retries 
Warning: left.
Warning: Problem (retrying all errors). Will retry in 2 seconds. 2 retries 
Warning: left.
  0      0   0      0   0      0      0      0                              0
  0      0   0      0   0      0      0      0                              0
curl: (7) Failed to connect to texlive.info port 443 after 137 ms: Could not connect to server
curl: (7) Failed to connect to texlive.info port 443 after 137 ms: Could not connect to server
Warning: Problem (retrying all errors). Will retry in 2 seconds. 2 retries 
Warning: left.
Warning: Problem (retrying all errors). Will retry in 2 seconds. 2 retries 
Warning: left.
  0      0   0      0   0      0      0      0                              0
curl: (7) Failed to connect to texlive.info port 443 after 182 ms: Could not connect to server
Warning: Problem (retrying all errors). Will retry in 2 seconds. 2 retries 
Warning: left.
  0      0   0      0   0      0      0      0                              0
curl: (7) Failed to connect to texlive.info port 443 after 141 ms: Could not connect to server
Warning: Problem (retrying all errors). Will retry in 2 seconds. 2 retries 
Warning: left.
  0      0   0      0   0      0      0      0                              0
curl: (7) Failed to connect to texlive.info port 443 after 140 ms: Could not connect to server
Warning: Problem (retrying all errors). Will retry in 2 seconds. 2 retries 
Warning: left.
  0      0   0      0   0      0      0      0                              0
curl: (7) Failed to connect to texlive.info port 443 after 138 ms: Could not connect to server
Warning: Problem (retrying all errors). Will retry in 2 seconds. 2 retries 
Warning: left.
  0      0   0      0   0      0      0      0                              0
curl: (7) Failed to connect to texlive.info port 443 after 140 ms: Could not connect to server
Warning: Problem (retrying all errors). Will retry in 4 seconds. 1 retry left.
  0      0   0      0   0      0      0      0                              0
curl: (7) Failed to connect to texlive.info port 443 after 139 ms: Could not connect to server
Warning: Problem (retrying all errors). Will retry in 4 seconds. 1 retry left.
  0      0   0      0   0      0      0      0                              0
curl: (7) Failed to connect to texlive.info port 443 after 139 ms: Could not connect to server
Warning: Problem (retrying all errors). Will retry in 4 seconds. 1 retry left.
  0      0   0      0   0      0      0      0                              0
curl: (7) Failed to connect to texlive.info port 443 after 139 ms: Could not connect to server
Warning: Problem (retrying all errors). Will retry in 4 seconds. 1 retry left.
  0      0   0      0   0      0      0      0                              0
curl: (7) Failed to connect to texlive.info port 443 after 138 ms: Could not connect to server
Warning: Problem (retrying all errors). Will retry in 4 seconds. 1 retry left.
  0      0   0      0   0      0      0      0                              0
curl: (7) Failed to connect to texlive.info port 443 after 137 ms: Could not connect to server
Warning: Problem (retrying all errors). Will retry in 4 seconds. 1 retry left.
  0      0   0      0   0      0      0      0                              0
curl: (7) Failed to connect to texlive.info port 443 after 137 ms: Could not connect to server
Warning: Problem (retrying all errors). Will retry in 4 seconds. 1 retry left.
  0      0   0      0   0      0      0      0                              0
curl: (7) Failed to connect to texlive.info port 443 after 136 ms: Could not connect to server
Warning: Problem (retrying all errors). Will retry in 4 seconds. 1 retry left.
  0      0   0      0   0      0      0      0                              0
curl: (7) Failed to connect to texlive.info port 443 after 137 ms: Could not connect to server
Warning: Problem (retrying all errors). Will retry in 4 seconds. 1 retry left.
  0      0   0      0   0      0      0      0                              0
curl: (7) Failed to connect to texlive.info port 443 after 137 ms: Could not connect to server
Warning: Problem (retrying all errors). Will retry in 4 seconds. 1 retry left.
  0      0   0      0   0      0      0      0                              0
  0      0   0      0   0      0      0      0                              0
curl: (7) Failed to connect to texlive.info port 443 after 137 ms: Could not connect to server
Warning: Problem (retrying all errors). Will retry in 4 seconds. 1 retry left.
curl: (7) Failed to connect to texlive.info port 443 after 137 ms: Could not connect to server
Warning: Problem (retrying all errors). Will retry in 4 seconds. 1 retry left.
  0      0   0      0   0      0      0      0                              0
curl: (7) Failed to connect to texlive.info port 443 after 141 ms: Could not connect to server
  0      0   0      0   0      0      0      0                              0
curl: (7) Failed to connect to texlive.info port 443 after 137 ms: Could not connect to server
  0      0   0      0   0      0      0      0                              0
curl: (7) Failed to connect to texlive.info port 443 after 137 ms: Could not connect to server
  0      0   0      0   0      0      0      0                              0
curl: (7) Failed to connect to texlive.info port 443 after 137 ms: Could not connect to server
  0      0   0      0   0      0      0      0                              0
  0      0   0      0   0      0      0      0                              0
curl: (7) Failed to connect to texlive.info port 443 after 137 ms: Could not connect to server
curl: (7) Failed to connect to texlive.info port 443 after 137 ms: Could not connect to server
  0      0   0      0   0      0      0      0                              0
  0      0   0      0   0      0      0      0                              0
curl: (7) Failed to connect to texlive.info port 443 after 139 ms: Could not connect to server
curl: (7) Failed to connect to texlive.info port 443 after 139 ms: Could not connect to server
  0      0   0      0   0      0      0      0                              0
  0      0   0      0   0      0      0      0                              0
curl: (7) Failed to connect to texlive.info port 443 after 137 ms: Could not connect to server
curl: (7) Failed to connect to texlive.info port 443 after 137 ms: Could not connect to server
error: cannot download amsmath.doc.r76708.tar.xz from any mirror
error: Cannot build '/nix/store/pjcazyi0r250fy6r6rrzj20qvs484rs7-amsmath.doc.r76708.tar.xz.drv'.
       Reason: builder failed with exit code 1.
       Output paths:
         /nix/store/pxckh34dvijry6cndwcdmghvx7z3krd6-amsmath.doc.r76708.tar.xz
       Last 25 log lines:
       > Warning: left.
       > 100    350 100    350   0      0   2917      0                              0
       >   0      0   0      0   0      0      0      0                              0
       > curl: (22) The requested URL returned error: 404
       > Warning: Problem (retrying all errors). Will retry in 4 seconds. 1 retry left.
       > 100    350 100    350   0      0   2829      0                              0
       >   0      0   0      0   0      0      0      0                              0
       > curl: (22) The requested URL returned error: 404
       >
       > trying https://texlive.info/tlnet-archive/2026/02/02/tlnet/archive/amsmath.doc.r76708.tar.xz
       >   % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
       >                                  Dload  Upload  Total   Spent   Left   Speed
       >   0      0   0      0   0      0      0      0                              0
       > curl: (7) Failed to connect to texlive.info port 443 after 137 ms: Could not connect to server
       > Warning: Problem (retrying all errors). Will retry in 1 second. 3 retries left.
       >   0      0   0      0   0      0      0      0                              0
       > curl: (7) Failed to connect to texlive.info port 443 after 137 ms: Could not connect to server
       > Warning: Problem (retrying all errors). Will retry in 2 seconds. 2 retries
       > Warning: left.
       >   0      0   0      0   0      0      0      0                              0
       > curl: (7) Failed to connect to texlive.info port 443 after 140 ms: Could not connect to server
       > Warning: Problem (retrying all errors). Will retry in 4 seconds. 1 retry left.
       >   0      0   0      0   0      0      0      0                              0
       > curl: (7) Failed to connect to texlive.info port 443 after 141 ms: Could not connect to server
       > error: cannot download amsmath.doc.r76708.tar.xz from any mirror
       For full logs, run:
         nix log /nix/store/pjcazyi0r250fy6r6rrzj20qvs484rs7-amsmath.doc.r76708.tar.xz.drv
error: Cannot build '/nix/store/xqc56vkcnf6lk7wyaf7dj350mfx6kv88-amsmath-76708-texdoc.drv'.
       Reason: 1 dependency failed.
       Output paths:
         /nix/store/i58ydarp5lyf7qaq9yjwdcca3clls2h4-amsmath-76708-texdoc
error: Build failed due to failed dependency
error: Cannot build '/nix/store/gfinvh8i9rddw3fiyxnmww17y5f1spzr-texlive-2025-r77567-env.drv'.
       Reason: 1 dependency failed.
       Output paths:
         /nix/store/7pfr8dv6lp881gbyvig2l9gwcqdpnia1-texlive-2025-r77567-env
error: Build failed due to failed dependency
error: Cannot build '/nix/store/j3p0dd4n850pzv3xdkg9pag0h1qd3kfb-texlive-2025-r77567-env-texmfroot.drv'.
       Reason: 1 dependency failed.
       Output paths:
         /nix/store/8h7qh67ar9ivpxmamwbwfc0bpggq7wdl-texlive-2025-r77567-env-texmfroot
error: Cannot build '/nix/store/zh8lydzndkkmhz3jy5nvmxcwv1qa0hz1-texlive-2025-r77567-env.drv'.
       Reason: 1 dependency failed.
       Output paths:
         /nix/store/dcw3xh0byjj2mykpq3m0va0v9yvcj7m5-texlive-2025-r77567-env
         /nix/store/hqy9wd83ls6sb9xjdpkilmac3gw83ds3-texlive-2025-r77567-env-info
         /nix/store/sa1psq4mz9yzc7xvc67h3k8vxqq3g2m7-texlive-2025-r77567-env-man
error: Build failed due to failed dependency

Additional context

Bisecting shows that the issue was introduced with the latest staging-next merge (#497493), and cherry-picking suggests that it was specifically #479358. I suspect that #495954 might fix it, but the build takes too long on my machine to check since it hasn't been cached yet.

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.19.8, NixOS, 26.05 (Yarara), 26.05.20260318.b40629e
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.34.1
  • nixpkgs: /nix/store/ap9dpkyzikzzh04259wlsvha2mw455x4-source

Notify maintainers

(no listed maintainers, so mentioning authors of aforementioned PRs)
@chrjabs @xworld21


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions