@@ -1,8 +1,8 @@
11{ stdenv, buildPackages, lib
22, fetchurl, fetchpatch, fetchFromSavannah, fetchFromGitHub
33, zlib, openssl, gdbm, ncurses, readline, groff, libyaml, libffi, autoreconfHook, bison
4−, autoconf, darwin ? null
5−, buildEnv, bundler, bundix, Foundation
4+, autoconf, libiconv, libobjc, libunwind, Foundation
5+, buildEnv, bundler, bundix
66} @ args:
77
88let
@@ -37,7 +37,7 @@ let
3737 isRuby25 = ver.majMin == "2.5";
3838 baseruby = self.override { useRailsExpress = false; };
3939 self = lib.makeOverridable (
40− { stdenv, buildPackages, lib
40+ { stdenv, buildPackages, lib
4141 , fetchurl, fetchpatch, fetchFromSavannah, fetchFromGitHub
4242 , useRailsExpress ? true
4343 , zlib, zlibSupport ? true
@@ -48,8 +48,8 @@ let
4848 , libyaml, yamlSupport ? true
4949 , libffi, fiddleSupport ? true
5050 , autoreconfHook, bison, autoconf
51− , darwin ? null
52− , buildEnv, bundler, bundix, Foundation
51+ , buildEnv, bundler, bundix
52+ , libiconv, libobjc, libunwind, Foundation
5353 }:
5454 let rubySrc =
5555 if useRailsExpress then fetchFromGitHub {
@@ -93,9 +93,8 @@ let
9393 # support is not enabled, so add readline to the build inputs if curses
9494 # support is disabled (if it's enabled, we already have it) and we're
9595 # running on darwin
96− ++ (op (!cursesSupport && stdenv.isDarwin) readline)
97− ++ (op (isRuby25 && stdenv.isDarwin) Foundation)
98− ++ (ops stdenv.isDarwin (with darwin; [ libiconv libobjc libunwind ]));
96+ ++ op (!cursesSupport && stdenv.isDarwin) readline
97+ ++ ops stdenv.isDarwin [ libiconv libobjc libunwind Foundation ];
9998
10099 enableParallelBuilding = true;
101100
@@ -200,26 +199,26 @@ let
200199
201200in {
202201 ruby_2_3 = generic {
203− version = rubyVersion "2" "3" "6" "";
202+ version = rubyVersion "2" "3" "7" "";
204203 sha256 = {
205− src = "07jpa7fw1gyf069m7alf2b0zm53qm08w2ns45mhzmvgrg4r528l3";
206− git = "1bk59i0ygdc5z3zz3k6indfrxd2ix55np6rwvkcdpdw8svm749ds";
204+ src = "0zvx5kdp1frjs9n95n7ba7dy0alax33wi3nj8034m3ppvnf39k9m";
205+ git = "11wbzw2ywwfnvlkg3qjg0as2pzk5zyk63y2iis42d91lg1l2flrk";
207206 };
208207 };
209208
210209 ruby_2_4 = generic {
211− version = rubyVersion "2" "4" "3" "";
210+ version = rubyVersion "2" "4" "4" "";
212211 sha256 = {
213− src = "161smb52q19r9lrzy22b3bhnkd0z8wjffm0qsfkml14j5ic7a0zx";
214− git = "0x2lqbqm2rq9j5zh1p72dma56nqvdkfbgzb9wybm4y4hwhiw8c1m";
212+ src = "0nmfr2lijik6cykk0zbj11zcapcrvmdvq83k3r6q3k74g4d1qkr5";
213+ git = "103cs7hz1v0h84lbrippl87s4lawi20m406rs5dgxl2gr2wyjpy5";
215214 };
216215 };
217216
218217 ruby_2_5 = generic {
219− version = rubyVersion "2" "5" "0" "";
218+ version = rubyVersion "2" "5" "1" "";
220219 sha256 = {
221− src = "1azj0d2lzziw6iml7bx3sxpxzcdmfwfq3yhm7djyp20q1xiz7rj6";
222− git = "0d436nqmp3ykdkp4sck5bb8sf3qvx30x1p58xh8axv66mvsyc2jd";
220+ src = "1c99k0fjaq7k09104h1b1cqx6mrk2b14ic1jjnxc6yav68i1ij6s";
221+ git = "1j0fd16aq9x98n0kq9c3kfp2sh6xcsq8q4733p0wfqjh3vz50kyj";
223222 };
224223 };
225224}