diff options
Diffstat (limited to 'pkgs/development/compilers/openjdk/11.nix')
-rw-r--r-- | pkgs/development/compilers/openjdk/11.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/openjdk/11.nix b/pkgs/development/compilers/openjdk/11.nix index 089e8411210c..a5110cb24d27 100644 --- a/pkgs/development/compilers/openjdk/11.nix +++ b/pkgs/development/compilers/openjdk/11.nix @@ -84,7 +84,7 @@ let # https://github.com/NixOS/nixpkgs/issues/150655#issuecomment-1935304859 "--with-extra-cxxflags=-xc++" ] - ++ lib.optional stdenv.isx86_64 "--with-jvm-features=zgc" + ++ lib.optional stdenv.hostPlatform.isx86_64 "--with-jvm-features=zgc" ++ lib.optional headless "--enable-headless-only" ++ lib.optional (!headless && enableJavaFX) "--with-import-modules=${openjfx}"; |