Nasty hack to let JDK 5.0 work on Mac OS X (assuming the user downloaded
JDK from http://www.apple.com/support/downloads/java2se50release1.html). svn path=/nixpkgs/trunk/; revision=4012
This commit is contained in:
parent
1ec2b9d94f
commit
d95b8c1db3
@ -501,7 +501,11 @@ rec {
|
|||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
};
|
};
|
||||||
|
|
||||||
jdk = (import ../development/compilers/jdk) {
|
jdk =
|
||||||
|
if stdenv.system == "powerpc-darwin" then
|
||||||
|
"/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home"
|
||||||
|
else
|
||||||
|
(import ../development/compilers/jdk) {
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user