about summary refs log tree commit diff
path: root/pkgs/top-level/java-packages.nix
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2022-09-23 15:54:19 +0100
committerRobert Hensing <robert@roberthensing.nl>2022-09-23 15:54:19 +0100
commit19313d0fa25e0180133ae9dfb936db80f68d0a13 (patch)
tree92f3b2e5336e3abffe63ef695dead8c84b2ce61f /pkgs/top-level/java-packages.nix
parentcbb16e90e60fce2427002f5f319e715fd57f1a1b (diff)
openjdk*: Make bootstrap headless
This reduces the build closure size.
Reducing the build closure size reduces the number of rebuilds
across time and it helps with such tasks as bisecting the staging
branch.
Diffstat (limited to 'pkgs/top-level/java-packages.nix')
-rw-r--r--pkgs/top-level/java-packages.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/top-level/java-packages.nix b/pkgs/top-level/java-packages.nix
index c246040a97477..cb4f15ab861c6 100644
--- a/pkgs/top-level/java-packages.nix
+++ b/pkgs/top-level/java-packages.nix
@@ -45,7 +45,7 @@ in {
     mkBootstrap = adoptopenjdk: path: args:
       /* adoptopenjdk not available for i686, so fall back to our old builds for bootstrapping */
       if   adoptopenjdk.jdk-hotspot.meta.available
-      then adoptopenjdk.jdk-hotspot
+      then adoptopenjdk.jdk-hotspot.override { gtkSupport = false; }
       else callPackage path args;
 
     mkOpenjdk = path-linux: path-darwin: args: