inherit the correct rake in buildRubyGem

this avoids accidentally depending on Ruby 1.9.3's rake for *every* gem
This commit is contained in:
Joel Taylor 2014-08-30 22:51:53 -07:00 committed by Charles Strahan
parent 8c072a33a1
commit 820ae58ba5

View File

@ -10,10 +10,9 @@
{ ruby, callPackage, pkgs }:
let
buildRubyGem = callPackage ./gem.nix { inherit ruby; };
lib = ruby.stdenv.lib;
self = rec {
inherit buildRubyGem;
buildRubyGem = callPackage ./gem.nix { inherit ruby rake; };
# import an attrset full of gems, then override badly behaved ones
importGems = file: args: