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:
parent
8c072a33a1
commit
820ae58ba5
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue