tor-browser-bundle-bin: add mirror for old versions

The normal source download mirrors usually contain only the latest (or a
few latest) release. Building a derivation for an old version can
therefore sometimes fail, if the source tar file was removed from the
mirror in the meantime.

A mirror containing even the old TBB release files is added to fix this
issue.
This commit is contained in:
Nicolas Benes
2022-10-15 23:42:28 +02:00
parent d4027145f9
commit d941434947
@@ -95,6 +95,7 @@ let
x86_64-linux = fetchurl {
urls = [
"https://dist.torproject.org/torbrowser/${version}/tor-browser-linux64-${version}_${lang}.tar.xz"
"https://archive.torproject.org/tor-package-archive/torbrowser/${version}/tor-browser-linux64-${version}_${lang}.tar.xz"
"https://tor.eff.org/dist/torbrowser/${version}/tor-browser-linux64-${version}_${lang}.tar.xz"
"https://tor.calyxinstitute.org/dist/torbrowser/${version}/tor-browser-linux64-${version}_${lang}.tar.xz"
];
@@ -104,6 +105,7 @@ let
i686-linux = fetchurl {
urls = [
"https://dist.torproject.org/torbrowser/${version}/tor-browser-linux32-${version}_${lang}.tar.xz"
"https://archive.torproject.org/tor-package-archive/torbrowser/${version}/tor-browser-linux32-${version}_${lang}.tar.xz"
"https://tor.eff.org/dist/torbrowser/${version}/tor-browser-linux32-${version}_${lang}.tar.xz"
"https://tor.calyxinstitute.org/dist/torbrowser/${version}/tor-browser-linux32-${version}_${lang}.tar.xz"
];