Use the recommended http://cache.ruby-lang.org host to get the ruby archives

This commit is contained in:
zimbatm 2013-11-24 16:35:50 +00:00 committed by Vladimír Čunát
parent 7a01483d51
commit 7c6e108c2d
3 changed files with 3 additions and 3 deletions

View file

@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
name = "ruby-${version}";
src = fetchurl {
url = "ftp://ftp.ruby-lang.org/pub/ruby/1.8/${name}.tar.gz";
url = "http://cache.ruby-lang.org/pub/ruby/1.8/${name}.tar.gz";
sha256 = "0g2dsn8lmiqwqsp13ryzi97qxr7742v5l7v506x6wq9aiwpk42p6";
};

View file

@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
name = "ruby-${version}";
src = fetchurl {
url = "ftp://ftp.ruby-lang.org/pub/ruby/1.9/${name}.tar.bz2";
url = "http://cache.ruby-lang.org/pub/ruby/1.9/${name}.tar.bz2";
sha256 = "0w1avj8qfskvkgvrjxxc1cxjm14bf1v60ipvcl5q3zpn9k14k2cx";
};

View file

@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
name = "ruby-${version}";
src = fetchurl {
url = "ftp://ftp.ruby-lang.org/pub/ruby/2.0/${name}.tar.bz2";
url = "http://cache.ruby-lang.org/pub/ruby/2.0/${name}.tar.bz2";
sha256 = "0pr9jf01cfap93xcngyd5zpns67ffjsgaxkm0qr1r464rj9d7066";
};