mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 16:23:26 +00:00
passthru ruby, make stdenv overridable
This commit is contained in:
parent
2a3f2cfce8
commit
2b0750f87a
@ -5,6 +5,7 @@ lib.makeOverridable (
|
||||
{ name
|
||||
, ruby ? defs.ruby
|
||||
, rubygems ? (rubygemsFun ruby)
|
||||
, stdenv ? ruby.stdenv
|
||||
, namePrefix ? "${ruby.name}" + "-"
|
||||
, buildInputs ? []
|
||||
, doCheck ? false
|
||||
@ -13,7 +14,8 @@ lib.makeOverridable (
|
||||
, gemPath ? []
|
||||
, ...} @ attrs:
|
||||
|
||||
ruby.stdenv.mkDerivation (attrs // {
|
||||
stdenv.mkDerivation (attrs // {
|
||||
inherit ruby rubygems;
|
||||
inherit doCheck;
|
||||
|
||||
buildInputs = [ rubygems makeWrapper git ] ++ buildInputs;
|
||||
|
Loading…
Reference in New Issue
Block a user