rubyMinimal: Disable JIT support and remove cc refs

To make rubyMinimal truely minimal, it shouldn't reference stdenv.cc
This commit is contained in:
Doron Behar
2020-06-07 10:32:11 +03:00
parent 0ab3c6b7d0
commit bb8ea13840
2 changed files with 3 additions and 1 deletions
@@ -159,7 +159,7 @@ let
$out/lib/libruby*
${removeReferencesTo}/bin/remove-references-to \
-t ${stdenv.cc} \
$out/lib/ruby/${version}/${stdenv.targetPlatform.system}/rbconfig.rb
$out/${passthru.libPath}/${stdenv.targetPlatform.system}/rbconfig.rb
''
}
# Bundler tries to create this directory