Expose gems when using loadRubyEnv

This commit is contained in:
Alexander Flatter 2014-09-17 15:13:21 +02:00 committed by Charles Strahan
parent 4d3932a29e
commit 5b928301c1

View File

@ -37,7 +37,7 @@ in
rubyLibs = rubyLibsWith ruby;
gems = rubyLibs.importGems gemset (config.gemOverrides or (gemset: {}));
in {
inherit ruby; # TODO: Set ruby using expr.rubyVersion if not given.
inherit ruby gems; # TODO: Set ruby using expr.rubyVersion if not given.
gemPath = map (drv: "${drv}") (
builtins.filter (value: lib.isDerivation value) (lib.attrValues gems)
);