Merge pull request #116009 from fzakaria/faridzakaria/fix-jruby-java-home

jruby: Fix JAVA_HOME to support proper jmod support
This commit is contained in:
Sandro 2021-03-12 02:24:43 +01:00 committed by GitHub
commit c0a09eb740
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,7 @@ jruby = stdenv.mkDerivation rec {
for i in $out/bin/jruby{,.bash}; do
wrapProgram $i \
--set JAVA_HOME ${jre}
--set JAVA_HOME ${jre.home}
done
ln -s $out/bin/jruby $out/bin/ruby