diff options
author | Rob Vermaas <rob.vermaas@gmail.com> | 2009-10-02 12:12:23 +0000 |
---|---|---|
committer | Rob Vermaas <rob.vermaas@gmail.com> | 2009-10-02 12:12:23 +0000 |
commit | 82447aa73e07362fb08079c7b5ce1b57f099975b (patch) | |
tree | 4291149412e498a3373a6cf5482712f28cb50248 /pkgs | |
parent | aa6c9ba04ea1e2eaeb2d4658a2db779d5db42080 (diff) |
added openjdk for darwin (binaries) for testing
svn path=/nixpkgs/trunk/; revision=17596
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/compilers/openjdk-darwin/default.nix | 16 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 4 |
2 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/development/compilers/openjdk-darwin/default.nix b/pkgs/development/compilers/openjdk-darwin/default.nix new file mode 100644 index 0000000000000..88099a90949cc --- /dev/null +++ b/pkgs/development/compilers/openjdk-darwin/default.nix @@ -0,0 +1,16 @@ +{stdenv, fetchurl}: + +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 = '' + ensureDir $out + cp -vR * $out/ + ''; + +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 79d6379d6b6e5..167e78487397a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1978,6 +1978,10 @@ let inherit lib fetchurl stdenv composableDerivation; }; + openjdkDarwin = import ../development/compilers/openjdk-darwin { + inherit fetchurl stdenv; + }; + j2sdk14x = ( assert system == "i686-linux"; import ../development/compilers/jdk/default-1.4.nix { |