Merge pull request #194255 from Artturin/fixevalfailjdk
openjdk*: fix darwin eval failure
This commit is contained in:
commit
48177fb6ea
@ -45,7 +45,11 @@ 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.override { gtkSupport = false; }
|
||||
then
|
||||
# only linux has the gtkSupport option
|
||||
if stdenv.isLinux
|
||||
then adoptopenjdk.jdk-hotspot.override { gtkSupport = false; }
|
||||
else adoptopenjdk.jdk-hotspot
|
||||
else callPackage path args;
|
||||
|
||||
mkOpenjdk = path-linux: path-darwin: args:
|
||||
|
Loading…
Reference in New Issue
Block a user