diff options
author | Robert Hensing <robert@roberthensing.nl> | 2022-09-23 15:54:19 +0100 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2022-09-23 15:54:19 +0100 |
commit | 19313d0fa25e0180133ae9dfb936db80f68d0a13 (patch) | |
tree | 92f3b2e5336e3abffe63ef695dead8c84b2ce61f /pkgs/top-level/java-packages.nix | |
parent | cbb16e90e60fce2427002f5f319e715fd57f1a1b (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.nix | 2 |
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: |