1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

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: