mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 20:55:31 +03:00
ruby: more consistent baseRuby reference removal
This commit is contained in:
parent
09e3924934
commit
4ac0f8e045
1 changed files with 3 additions and 1 deletions
|
@ -206,7 +206,9 @@ let
|
||||||
sed -i '/^ CONFIG\["\(BASERUBY\|SHELL\|GREP\|EGREP\|MKDIR_P\|MAKEDIRS\|INSTALL\)"\]/d' $rbConfig
|
sed -i '/^ CONFIG\["\(BASERUBY\|SHELL\|GREP\|EGREP\|MKDIR_P\|MAKEDIRS\|INSTALL\)"\]/d' $rbConfig
|
||||||
'' + opString useBaseRuby ''
|
'' + opString useBaseRuby ''
|
||||||
# Prevent the baseruby from being included in the closure.
|
# Prevent the baseruby from being included in the closure.
|
||||||
sed -i "s|'--with-baseruby=${baseRuby}/bin/ruby'||" $rbConfig
|
${removeReferencesTo}/bin/remove-references-to \
|
||||||
|
-t ${baseRuby} \
|
||||||
|
$rbConfig $out/lib/libruby*
|
||||||
'';
|
'';
|
||||||
|
|
||||||
disallowedRequisites = op (!jitSupport) stdenv.cc.cc
|
disallowedRequisites = op (!jitSupport) stdenv.cc.cc
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue