ruby updates

This commit is contained in:
Joel Taylor 2014-08-13 22:38:58 -07:00 committed by Charles Strahan
parent 081343f099
commit f14f73da76
2 changed files with 12 additions and 7 deletions

View file

@ -13,7 +13,7 @@
{ ruby, callPackage, pkgs }:
let
buildRubyGem = callPackage ./gem.nix {};
buildRubyGem = callPackage ./gem.nix { inherit ruby; };
lib = ruby.stdenv.lib;
self = rec {
inherit buildRubyGem;

View file

@ -4045,14 +4045,19 @@ let
ruby_2_0 = ruby_2_0_0;
ruby_2_1 = ruby_2_1_3;
rubyLibsWith = ruby: callPackage ../development/interpreters/ruby/gems.nix {
inherit ruby;
rubyLibsWith = myruby: callPackage ../development/interpreters/ruby/gems.nix {
ruby = myruby;
};
ruby18Libs = rubyLibsWith ruby18;
ruby19Libs = rubyLibsWith ruby19;
ruby2Libs = rubyLibsWith ruby2;
rubyLibs = recurseIntoAttrs ruby19Libs;
rubyLibs_1_8_7 = rubyLibsWith ruby_1_8_7;
rubyLibs_1_9_3 = rubyLibsWith ruby_1_9_3;
rubyLibs_2_0_0 = rubyLibsWith ruby_2_0_0;
rubyLibs_2_1_0 = rubyLibsWith ruby_2_1_0;
rubyLibs_2_1_1 = rubyLibsWith ruby_2_1_1;
rubyLibs_2_1_2 = rubyLibsWith ruby_2_1_2;
rubyLibs_2_1_3 = rubyLibsWith ruby_2_1_3;
rubyLibs = recurseIntoAttrs rubyLibs_1_9_3;
rake = rubyLibs.rake;