mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
ruby: use fetchFromSavannah to enable better availability for proxied users.
This commit is contained in:
parent
0d54f0de59
commit
28a18999fa
@ -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";
|
||||
}
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user