forked from mirrors/nixpkgs
ruby gems: propagate ruby because it contains the hooks to add gem search paths, needed by nix-shell-created environments
This commit is contained in:
parent
d500a52eba
commit
d9dbeeca79
|
@ -3,7 +3,7 @@
|
|||
let
|
||||
gemDefaults = { name, basename, requiredGems, sha256, meta }:
|
||||
{
|
||||
buildInputs = [rubygems ruby makeWrapper];
|
||||
buildInputs = [rubygems makeWrapper];
|
||||
unpackPhase = ":";
|
||||
configurePhase=":";
|
||||
bulidPhase=":";
|
||||
|
@ -15,7 +15,8 @@ let
|
|||
|
||||
name = "ruby-${name}";
|
||||
|
||||
propagatedBuildInputs = requiredGems;
|
||||
propagatedBuildInputs = requiredGems ++ [ruby];
|
||||
|
||||
inherit meta;
|
||||
|
||||
installPhase = ''
|
||||
|
|
Loading…
Reference in a new issue