Merge commit 'a6f6c0e' into master.upstream

This is a partial merge of staging where we have up to date binaries for
all packages.
This commit is contained in:
William A. Kennington III
2015-09-15 12:16:44 -07:00
62 changed files with 224 additions and 106 deletions

View File

@@ -10,7 +10,7 @@ buildRubyGem {
};
dontPatchShebangs = true;
postInstall = ''
find $out -type f -perm /0100 | while read f; do
find $out -type f -perm -0100 | while read f; do
substituteInPlace $f \
--replace "/usr/bin/env" "${coreutils}/bin/env"
done

View File

@@ -6,7 +6,7 @@ buildRubyGem {
sha256 = "1vlzfq0bkkj4jyq6av0y55mh5nj5n0f3mfbmmifwgkh44g8k6agv";
dontPatchShebangs = true;
postInstall = ''
find $out -type f -perm /0100 | while read f; do
find $out -type f -perm -0100 | while read f; do
substituteInPlace $f \
--replace "/usr/bin/env" "${coreutils}/bin/env"
done

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
@@ -7,13 +7,14 @@
, libyaml, yamlSupport ? true
, libffi, fiddleSupport ? true
, ruby_2_1_6, autoreconfHook, bison, useRailsExpress ? true
, libiconv, libobjc, libunwind
}:
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
@@ -47,7 +48,8 @@ stdenv.mkDerivation rec {
# support is not enabled, so add readline to the build inputs if curses
# support is disabled (if it's enabled, we already have it) and we're
# running on darwin
++ (op (!cursesSupport && stdenv.isDarwin) readline);
++ (op (!cursesSupport && stdenv.isDarwin) readline)
++ (ops stdenv.isDarwin [ libiconv libobjc libunwind ]);
enableParallelBuilding = true;

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