mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +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
|
||||
'' + opString useBaseRuby ''
|
||||
# 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue