bundlerEnv.wrapper: rename to wrappedRuby

This commit is contained in:
Nikolay Amiantov 2016-01-24 15:59:31 +03:00
parent dc162f648c
commit 9b980baa9d

View File

@ -68,8 +68,8 @@ let
passthru = rec {
inherit ruby bundler meta gems;
wrapper = stdenv.mkDerivation {
name = "wrapper-${name}";
wrappedRuby = stdenv.mkDerivation {
name = "wrapped-ruby-${name}";
nativeBuildInputs = [ makeWrapper ];
buildCommand = ''
mkdir -p $out/bin
@ -93,7 +93,7 @@ let
'';
in stdenv.mkDerivation {
name = "interactive-${name}-environment";
nativeBuildInputs = [ wrapper bundlerEnv ];
nativeBuildInputs = [ wrappedRuby bundlerEnv ];
shellHook = ''
export OLD_IRBRC="$IRBRC"
export IRBRC=${irbrc}