allow importGems to override cp args
This commit is contained in:
parent
e9328fa7c3
commit
c694425a03
@ -17,8 +17,9 @@ let
|
|||||||
self = rec {
|
self = rec {
|
||||||
inherit buildRubyGem;
|
inherit buildRubyGem;
|
||||||
|
|
||||||
# import an attrset full of gems, then override necessary gems
|
# import an attrset full of gems, then override badly behaved ones
|
||||||
importGems = file: (callPackage file { inherit buildRubyGem; rubyLibs = self; });
|
importGems = file: args:
|
||||||
|
(callPackage file ({ inherit buildRubyGem; rubyLibs = self; } // args));
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# stuff EVERYONE needs
|
# stuff EVERYONE needs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user