summary refs log tree commit diff
path: root/pkgs/build-support
diff options
context:
space:
mode:
authorJ Phani Mahesh <phanimahesh@gmail.com>2016-07-15 13:20:35 +0530
committerJ Phani Mahesh <phanimahesh@gmail.com>2016-07-15 13:20:35 +0530
commitc4fa18b7a2f64f6aa01fb83fc80069b921c45372 (patch)
tree16eb652b341ce0de59b0991b4e588d29371683f2 /pkgs/build-support
parent59b5a2a8c92585b88fd1f8f0ad8e5a6efbd807d3 (diff)
downloadnixpkgs-c4fa18b7a2f64f6aa01fb83fc80069b921c45372.tar
nixpkgs-c4fa18b7a2f64f6aa01fb83fc80069b921c45372.tar.gz
nixpkgs-c4fa18b7a2f64f6aa01fb83fc80069b921c45372.tar.bz2
nixpkgs-c4fa18b7a2f64f6aa01fb83fc80069b921c45372.tar.lz
nixpkgs-c4fa18b7a2f64f6aa01fb83fc80069b921c45372.tar.xz
nixpkgs-c4fa18b7a2f64f6aa01fb83fc80069b921c45372.tar.zst
nixpkgs-c4fa18b7a2f64f6aa01fb83fc80069b921c45372.zip
mirrors: add downloads.sourceforge.net
downloads.sourceforge.net is the official way to download tarballs from
SourceForge.  However, it is reported as unreliable due to SF's weird
load balancing system.

This commit gives the official mirror utmost priority, and will use
other configured mirrors (which may be temporary) as a fallback only
when the official one can't be reached/download fails/hangs.

References: NixOs/nixpkgs#16900
Diffstat (limited to 'pkgs/build-support')
-rw-r--r--pkgs/build-support/fetchurl/mirrors.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/build-support/fetchurl/mirrors.nix b/pkgs/build-support/fetchurl/mirrors.nix
index d97ecb32be5..68244a43e58 100644
--- a/pkgs/build-support/fetchurl/mirrors.nix
+++ b/pkgs/build-support/fetchurl/mirrors.nix
@@ -10,6 +10,7 @@ rec {
 
   # SourceForge.
   sourceforge = [
+    http://downloads.sourceforge.net/
     http://prdownloads.sourceforge.net/
     http://heanet.dl.sourceforge.net/sourceforge/
     http://surfnet.dl.sourceforge.net/sourceforge/