3
0
Fork 0
forked from mirrors/nixpkgs

allow importGems to override cp args

This commit is contained in:
Joel Taylor 2014-08-07 20:06:57 -07:00 committed by Charles Strahan
parent e9328fa7c3
commit c694425a03

View file

@ -17,8 +17,9 @@ let
self = rec {
inherit buildRubyGem;
# import an attrset full of gems, then override necessary gems
importGems = file: (callPackage file { inherit buildRubyGem; rubyLibs = self; });
# import an attrset full of gems, then override badly behaved ones
importGems = file: args:
(callPackage file ({ inherit buildRubyGem; rubyLibs = self; } // args));
##################################################################
# stuff EVERYONE needs