openjdk-darwin: Update to 7u60b30

This commit is contained in:
Eelco Dolstra 2014-07-15 11:51:07 +02:00
parent 828e386e68
commit caa74a146d

View File

@ -1,16 +1,18 @@
{ stdenv, fetchurl, setJavaClassPath }: { stdenv, fetchurl, unzip, setJavaClassPath }:
let let
jdk = stdenv.mkDerivation { jdk = stdenv.mkDerivation {
name = "openjdk6-b16-24_apr_2009-r1"; name = "openjdk-7u60b30";
# From https://github.com/alexkasko/openjdk-unofficial-builds
src = fetchurl { src = fetchurl {
url = http://landonf.bikemonkey.org/static/soylatte/bsd-dist/openjdk6_darwin/openjdk6-b16-24_apr_2009-r1.tar.bz2; url = https://bitbucket.org/alexkasko/openjdk-unofficial-builds/downloads/openjdk-1.7.0-u60-unofficial-macosx-x86_64-bundle.zip;
sha256 = "14pbv6jjk95k7hbgiwyvjdjv8pccm7m8a130k0q7mjssf4qmpx1v"; sha256 = "af510a4d566712d82c17054bb39f91d98c69a85586e244c6123669a0bd4b7401";
}; };
buildInputs = [ unzip ];
installPhase = '' installPhase = ''
mkdir -p $out mv */Contents/Home $out
cp -vR * $out/
# jni.h expects jni_md.h to be in the header search path. # jni.h expects jni_md.h to be in the header search path.
ln -s $out/include/darwin/*_md.h $out/include/ ln -s $out/include/darwin/*_md.h $out/include/