Merge pull request #192632 from hercules-ci/jdk-reduce-build-closure

openjdk*: Make bootstrap headless
This commit is contained in:
Robert Hensing 2022-09-24 12:44:50 +01:00 committed by GitHub
commit edbe7341e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: