forked from mirrors/nixpkgs
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.
This commit is contained in:
parent
cbb16e90e6
commit
19313d0fa2
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue