Merge pull request #179648 from amjoseph-nixpkgs/pr/java/dont-use-meta-available

java-packages.nix: detect i686 using stdenv.hostPlatform
This commit is contained in:
Artturi 2022-11-18 08:06:41 +02:00 committed by GitHub
commit 29e2da27e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,7 +44,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
if !stdenv.hostPlatform.isi686
then
# only linux has the gtkSupport option
if stdenv.isLinux