mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +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"
|
jdk = if stdenv.isDarwin || stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux"
|
||||||
then pkgs.openjdk
|
then pkgs.openjdk
|
||||||
else pkgs.oraclejdk;
|
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
|
then pkgs.openjre
|
||||||
else pkgs.oraclejre;
|
else pkgs.oraclejre;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user