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 }:
|
{ ruby, callPackage, pkgs }:
|
||||||
|
|
||||||
let
|
let
|
||||||
buildRubyGem = callPackage ./gem.nix { inherit ruby; };
|
|
||||||
lib = ruby.stdenv.lib;
|
lib = ruby.stdenv.lib;
|
||||||
self = rec {
|
self = rec {
|
||||||
inherit buildRubyGem;
|
buildRubyGem = callPackage ./gem.nix { inherit ruby rake; };
|
||||||
|
|
||||||
# import an attrset full of gems, then override badly behaved ones
|
# import an attrset full of gems, then override badly behaved ones
|
||||||
importGems = file: args:
|
importGems = file: args:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user