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:31 +0000 |
commit | ce6bc62d4807157a58300d8f4872dd7e46653169 (patch) | |
tree | 33dfdb6587d6e502243724d10eaf7b4290d5cded /pkgs/development/compilers/openjdk | |
parent | 6ba603bcc9cfe1f959651f6d048fca2b2edb36a1 (diff) | |
download | nixlib-ce6bc62d4807157a58300d8f4872dd7e46653169.tar nixlib-ce6bc62d4807157a58300d8f4872dd7e46653169.tar.gz nixlib-ce6bc62d4807157a58300d8f4872dd7e46653169.tar.bz2 nixlib-ce6bc62d4807157a58300d8f4872dd7e46653169.tar.lz nixlib-ce6bc62d4807157a58300d8f4872dd7e46653169.tar.xz nixlib-ce6bc62d4807157a58300d8f4872dd7e46653169.tar.zst nixlib-ce6bc62d4807157a58300d8f4872dd7e46653169.zip |
openjdk19: 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/19.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/openjdk/19.nix b/pkgs/development/compilers/openjdk/19.nix index 57b18065bca9..c79c3d34bd44 100644 --- a/pkgs/development/compilers/openjdk/19.nix +++ b/pkgs/development/compilers/openjdk/19.nix @@ -7,7 +7,7 @@ # TODO(@sternenseemann): gtk3 fails to evaluate in pkgsCross.ghcjs.buildPackages # which should be fixable, this is a no-rebuild workaround for GHC. , headless ? stdenv.targetPlatform.isGhcjs -, enableJavaFX ? openjfx.meta.available, openjfx +, enableJavaFX ? false, openjfx , enableGnome2 ? true, gtk3, gnome_vfs, glib, GConf }: |