about summary refs log tree commit diff
path: root/pkgs/development/compilers/openjdk
diff options
context:
space:
mode:
authorThiago Kenji Okada <thiagokokada@gmail.com>2023-02-03 21:11:37 +0000
committerThiago Kenji Okada <thiagokokada@gmail.com>2023-02-04 12:25:19 +0000
commit3db2a9d2d39251f4c2ed05afd30f9235537ab7be (patch)
tree0e139009baee576d9be15b37a208b201907e9f07 /pkgs/development/compilers/openjdk
parent368a7a02859b6f00e72c6fe291bc7d281abad8a4 (diff)
downloadnixlib-3db2a9d2d39251f4c2ed05afd30f9235537ab7be.tar
nixlib-3db2a9d2d39251f4c2ed05afd30f9235537ab7be.tar.gz
nixlib-3db2a9d2d39251f4c2ed05afd30f9235537ab7be.tar.bz2
nixlib-3db2a9d2d39251f4c2ed05afd30f9235537ab7be.tar.lz
nixlib-3db2a9d2d39251f4c2ed05afd30f9235537ab7be.tar.xz
nixlib-3db2a9d2d39251f4c2ed05afd30f9235537ab7be.tar.zst
nixlib-3db2a9d2d39251f4c2ed05afd30f9235537ab7be.zip
openjdk13: disable JavaFX by default
JavaFX is an optional component of Java since version 11, not used by
most applications and also a source of many security issues (i.e.: it
bundles both media codecs and WebKit). Also, it is only available in
some platforms.

So this commit will disable JavaFX by default, that will allow us to
reduce the closure size significantly and reduce the attack surface of
Java applications for most users. Derivations that needs it can always
override the parameter themselves.
Diffstat (limited to 'pkgs/development/compilers/openjdk')
-rw-r--r--pkgs/development/compilers/openjdk/13.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/openjdk/13.nix b/pkgs/development/compilers/openjdk/13.nix
index 40dc753f7955..72be3b050dd9 100644
--- a/pkgs/development/compilers/openjdk/13.nix
+++ b/pkgs/development/compilers/openjdk/13.nix
@@ -4,7 +4,7 @@
 , libXcursor, libXrandr, fontconfig, openjdk13-bootstrap, fetchpatch
 , setJavaClassPath
 , headless ? false
-, enableJavaFX ? openjfx.meta.available, openjfx
+, enableJavaFX ? false, openjfx
 , enableGnome2 ? true, gtk3, gnome_vfs, glib, GConf
 }: