add buildGems
to ruby passthru
This is useful for adding ruby gems that don't come with `nixpkgs` i.e. `pkgs.ruby.withPackages (_: [ (pkgs.ruby.buildGems ./my-gemset.nix).foo ])`
This commit is contained in:
parent
c2e9f0550a
commit
f943c3fb89
1 changed files with 1 additions and 1 deletions
|
@ -248,7 +248,7 @@ let
|
||||||
inherit lib stdenv makeWrapper buildRubyGem buildEnv;
|
inherit lib stdenv makeWrapper buildRubyGem buildEnv;
|
||||||
gemConfig = defaultGemConfig;
|
gemConfig = defaultGemConfig;
|
||||||
ruby = self;
|
ruby = self;
|
||||||
}) withPackages gems;
|
}) withPackages buildGems gems;
|
||||||
|
|
||||||
} // lib.optionalAttrs useBaseRuby {
|
} // lib.optionalAttrs useBaseRuby {
|
||||||
inherit baseRuby;
|
inherit baseRuby;
|
||||||
|
|
Loading…
Reference in a new issue