forked from mirrors/nixpkgs
openjdk*: fix darwin eval failure
only ./pkgs/development/compilers/adoptopenjdk-bin/jdk-linux-base.nix has the gtkSupport option
This commit is contained in:
parent
a46be8f23d
commit
81b9d5cab6
|
@ -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
|
||||
# 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 a new issue