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:
Evgeny Egorochkin 2014-12-20 00:56:02 +02:00
parent d500a52eba
commit d9dbeeca79

View File

@ -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 = ''