nixpkgs/pkgs/development/compilers/openjdk-darwin/default.nix
Shea Levy c056a69fdd darwin openjdk: set jre attribute.
Fixes tarball

Signed-off-by: Shea Levy <shea@shealevy.com>
2014-01-15 01:06:04 -05:00

19 lines
407 B
Nix

{stdenv, fetchurl, ...}:
let
jdk = stdenv.mkDerivation {
name = "openjdk6-b16-24_apr_2009-r1";
src = fetchurl {
url = http://hg.bikemonkey.org/archive/openjdk6_darwin/openjdk6-b16-24_apr_2009-r1.tar.bz2;
sha256 = "14pbv6jjk95k7hbgiwyvjdjv8pccm7m8a130k0q7mjssf4qmpx1v";
};
installPhase = ''
mkdir -p $out
cp -vR * $out/
'';
passthru.jre = jdk;
};
in jdk