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*
|
$out/lib/libruby*
|
||||||
${removeReferencesTo}/bin/remove-references-to \
|
${removeReferencesTo}/bin/remove-references-to \
|
||||||
-t ${stdenv.cc} \
|
-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
|
# Bundler tries to create this directory
|
||||||
|
@ -9777,6 +9777,8 @@ in
|
|||||||
rubyMinimal = ruby.override {
|
rubyMinimal = ruby.override {
|
||||||
# gem support is minimal overhead
|
# gem support is minimal overhead
|
||||||
rubygemsSupport = true;
|
rubygemsSupport = true;
|
||||||
|
removeReferenceToCC = true;
|
||||||
|
JitSupport = false;
|
||||||
useRailsExpress = false;
|
useRailsExpress = false;
|
||||||
zlibSupport = false;
|
zlibSupport = false;
|
||||||
opensslSupport = false;
|
opensslSupport = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user