ruby: use fetchFromSavannah to enable better availability for proxied users.

This commit is contained in:
Edward Tjörnhammar 2015-08-28 07:42:17 +02:00
parent 0d54f0de59
commit 28a18999fa
8 changed files with 18 additions and 16 deletions

View file

@ -1,6 +1,8 @@
# Ruby >= 2.1.0 tries to download config.{guess,sub}
fetchgit: fetchgit {
url = "git://git.sv.gnu.org/config.git";
{ fetchFromSavannah }:
fetchFromSavannah {
repo = "config";
rev = "576c839acca0e082e536fd27568b90a446ce5b96";
sha256 = "11bjngchjhj0qq0ppp8c37rfw0yhp230nvhs2jvlx15i9qbf56a0";
}

View file

@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, fetchgit, fetchFromGitHub
{ stdenv, lib, fetchurl, fetchFromSavannah, fetchFromGitHub
, zlib, zlibSupport ? true
, openssl, opensslSupport ? true
, gdbm, gdbmSupport ? true
@ -13,7 +13,7 @@ let
op = stdenv.lib.optional;
ops = stdenv.lib.optionals;
patchSet = import ./rvm-patchsets.nix { inherit fetchFromGitHub; };
config = import ./config.nix fetchgit;
config = import ./config.nix { inherit fetchFromSavannah; };
baseruby = ruby_2_1_0.override { useRailsExpress = false; };
in

View file

@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, fetchgit, fetchFromGitHub
{ stdenv, lib, fetchurl, fetchFromSavannah, fetchFromGitHub
, zlib, zlibSupport ? true
, openssl, opensslSupport ? true
, gdbm, gdbmSupport ? true
@ -13,7 +13,7 @@ let
op = stdenv.lib.optional;
ops = stdenv.lib.optionals;
patchSet = import ./rvm-patchsets.nix { inherit fetchFromGitHub; };
config = import ./config.nix fetchgit;
config = import ./config.nix { inherit fetchFromSavannah; };
baseruby = ruby_2_1_1.override { useRailsExpress = false; };
in

View file

@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, fetchgit, fetchFromGitHub
{ stdenv, lib, fetchurl, fetchFromSavannah, fetchFromGitHub
, zlib, zlibSupport ? true
, openssl, opensslSupport ? true
, gdbm, gdbmSupport ? true
@ -13,7 +13,7 @@ let
op = stdenv.lib.optional;
ops = stdenv.lib.optionals;
patchSet = import ./rvm-patchsets.nix { inherit fetchFromGitHub; };
config = import ./config.nix fetchgit;
config = import ./config.nix { inherit fetchFromSavannah; };
baseruby = ruby_2_1_2.override { useRailsExpress = false; };
in

View file

@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, fetchgit, fetchFromGitHub
{ stdenv, lib, fetchurl, fetchFromSavannah, fetchFromGitHub
, zlib, zlibSupport ? true
, openssl, opensslSupport ? true
, gdbm, gdbmSupport ? true
@ -13,7 +13,7 @@ let
op = stdenv.lib.optional;
ops = stdenv.lib.optionals;
patchSet = import ./rvm-patchsets.nix { inherit fetchFromGitHub; };
config = import ./config.nix fetchgit;
config = import ./config.nix { inherit fetchFromSavannah; };
baseruby = ruby_2_1_3.override { useRailsExpress = false; };
in

View file

@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, fetchgit, fetchFromGitHub
{ stdenv, lib, fetchurl, fetchFromSavannah, fetchFromGitHub
, zlib, zlibSupport ? true
, openssl, opensslSupport ? true
, gdbm, gdbmSupport ? true
@ -14,7 +14,7 @@ let
op = stdenv.lib.optional;
ops = stdenv.lib.optionals;
patchSet = import ./rvm-patchsets.nix { inherit fetchFromGitHub; };
config = import ./config.nix fetchgit;
config = import ./config.nix { inherit fetchFromSavannah; };
baseruby = ruby_2_1_6.override { useRailsExpress = false; };
in

View file

@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, fetchgit, fetchFromGitHub
{ stdenv, lib, fetchurl, fetchFromSavannah, fetchFromGitHub
, zlib, zlibSupport ? true
, openssl, opensslSupport ? true
, gdbm, gdbmSupport ? true
@ -14,7 +14,7 @@ let
op = stdenv.lib.optional;
ops = stdenv.lib.optionals;
patchSet = import ./rvm-patchsets.nix { inherit fetchFromGitHub; };
config = import ./config.nix fetchgit;
config = import ./config.nix { inherit fetchFromSavannah; };
baseruby = ruby_2_2_0.override { useRailsExpress = false; };
in

View file

@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, fetchgit, fetchFromGitHub
{ stdenv, lib, fetchurl, fetchFromSavannah, fetchFromGitHub
, zlib, zlibSupport ? true
, openssl, opensslSupport ? true
, gdbm, gdbmSupport ? true
@ -14,7 +14,7 @@ let
op = stdenv.lib.optional;
ops = stdenv.lib.optionals;
patchSet = import ./rvm-patchsets.nix { inherit fetchFromGitHub; };
config = import ./config.nix fetchgit;
config = import ./config.nix { inherit fetchFromSavannah; };
baseruby = ruby_2_2_2.override { useRailsExpress = false; };
in