forked from mirrors/nixpkgs
rubyMinimal: Disable JIT support and remove cc refs
To make rubyMinimal truely minimal, it shouldn't reference stdenv.cc
This commit is contained in:
parent
0ab3c6b7d0
commit
bb8ea13840
|
@ -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
|
||||
|
|
|
@ -9777,6 +9777,8 @@ in
|
|||
rubyMinimal = ruby.override {
|
||||
# gem support is minimal overhead
|
||||
rubygemsSupport = true;
|
||||
removeReferenceToCC = true;
|
||||
JitSupport = false;
|
||||
useRailsExpress = false;
|
||||
zlibSupport = false;
|
||||
opensslSupport = false;
|
||||
|
|
Loading…
Reference in a new issue