diff options
author | Thiago Kenji Okada <thiagokokada@gmail.com> | 2023-02-03 21:11:37 +0000 |
---|---|---|
committer | Thiago Kenji Okada <thiagokokada@gmail.com> | 2023-02-04 12:25:23 +0000 |
commit | 4161997c71a4b7a957a3c3999166dd28d8f0c55d (patch) | |
tree | bcd796b7a0b1470627612503e412189b7c401a33 | |
parent | 0ff244342e357614d0e810a0866adb4101a581ed (diff) |
openjdk15: 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.
-rw-r--r-- | pkgs/development/compilers/openjdk/15.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/openjdk/15.nix b/pkgs/development/compilers/openjdk/15.nix index c33e937f9f24b..f013cddbae536 100644 --- a/pkgs/development/compilers/openjdk/15.nix +++ b/pkgs/development/compilers/openjdk/15.nix @@ -4,7 +4,7 @@ , libXcursor, libXrandr, fontconfig, openjdk15-bootstrap , setJavaClassPath , headless ? false -, enableJavaFX ? openjfx.meta.available, openjfx +, enableJavaFX ? false, openjfx , enableGnome2 ? true, gtk3, gnome_vfs, glib, GConf }: |