Expose gems when using loadRubyEnv
This commit is contained in:
parent
4d3932a29e
commit
5b928301c1
@ -37,7 +37,7 @@ in
|
|||||||
rubyLibs = rubyLibsWith ruby;
|
rubyLibs = rubyLibsWith ruby;
|
||||||
gems = rubyLibs.importGems gemset (config.gemOverrides or (gemset: {}));
|
gems = rubyLibs.importGems gemset (config.gemOverrides or (gemset: {}));
|
||||||
in {
|
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}") (
|
gemPath = map (drv: "${drv}") (
|
||||||
builtins.filter (value: lib.isDerivation value) (lib.attrValues gems)
|
builtins.filter (value: lib.isDerivation value) (lib.attrValues gems)
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user