libreoffice: hide rhino behind withJava option (#457932)

This commit is contained in:
7c6f434c
2025-11-04 16:23:30 +00:00
committed by GitHub
@@ -617,9 +617,6 @@ stdenv.mkDerivation (finalAttrs: {
# cannot find headers, no idea why
"--without-system-boost"
"--with-system-rhino"
"--with-rhino-jar=${rhino}/share/java/js.jar"
"--without-system-java-websocket"
]
++ optionals kdeIntegration [
@@ -627,6 +624,9 @@ stdenv.mkDerivation (finalAttrs: {
"--enable-qt6"
]
++ optionals withJava [
"--with-system-rhino"
"--with-rhino-jar=${rhino}/share/java/js.jar"
"--with-system-beanshell"
"--with-ant-home=${ant.home}"
"--with-beanshell-jar=${bsh}"