Make openjre default jre on darwin, just like jdk.

This commit is contained in:
Rob Vermaas 2014-06-25 14:19:02 +02:00
parent c11d9daa58
commit 00d9b5dfeb

View File

@ -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;