Merge pull request #140849 from manveru/wrappedRuby-fixes

bundlerEnv.wrappedRuby: inherit gemPath and meta
This commit is contained in:
Mario Rodas 2021-10-08 20:01:41 -05:00 committed by GitHub
commit cecd2782d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -119,6 +119,7 @@ let
wrappedRuby = stdenv.mkDerivation { wrappedRuby = stdenv.mkDerivation {
name = "wrapped-ruby-${pname'}"; name = "wrapped-ruby-${pname'}";
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];
inherit (ruby) gemPath meta;
buildCommand = '' buildCommand = ''
mkdir -p $out/bin mkdir -p $out/bin
for i in ${ruby}/bin/*; do for i in ${ruby}/bin/*; do