mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
Make openjre default jre on darwin, just like jdk.
This commit is contained in:
parent
c11d9daa58
commit
00d9b5dfeb
@ -3025,7 +3025,7 @@ let
|
||||
jdk = if stdenv.isDarwin || stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux"
|
||||
then pkgs.openjdk
|
||||
else pkgs.oraclejdk;
|
||||
jre = if stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux"
|
||||
jre = if stdenv.isDarwin || stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux"
|
||||
then pkgs.openjre
|
||||
else pkgs.oraclejre;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user