mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
c056a69fdd
Fixes tarball Signed-off-by: Shea Levy <shea@shealevy.com>
20 lines
407 B
Nix
20 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
|