mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
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 New Issue
Block a user