Added x86_64 version of JDK5

svn path=/nixpkgs/trunk/; revision=10272
This commit is contained in:
Sander van der Burg 2008-01-24 10:14:33 +00:00
parent dac5ce6e48
commit d0792fd3bc
3 changed files with 7 additions and 7 deletions

View File

@ -1,6 +1,6 @@
{stdenv, fetchurl, unzip}:
if stdenv.system == "i686-linux"
if stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux"
then
(import ./jdk5-sun-linux.nix) {
inherit stdenv fetchurl unzip;

View File

@ -8,16 +8,16 @@
*/
{stdenv, fetchurl, unzip}:
assert stdenv.system == "i686-linux";
assert stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux";
stdenv.mkDerivation {
name = "jdk-1.5.0_14";
filename = "jdk-1_5_0_14";
dirname = "jdk1.5.0_14";
builder = ./builder.sh;
pathname = "/tmp/jdk-1_5_0_14-linux-i586.bin";
md5 = "32df8f2be09c3a0f39da1b3869164b55";
pathname = if stdenv.system == "x86_64-linux" then "/tmp/jdk-1_5_0_14-linux-amd64.bin" else "/tmp/jdk-1_5_0_14-linux-i586.bin";
md5 = if stdenv.system == "x86_64-linux" then "9dc74d939dd42988280f2c22ab9521bf" else "32df8f2be09c3a0f39da1b3869164b55";
stdenv = stdenv;
inherit unzip;
}

View File

@ -1145,11 +1145,11 @@ rec {
};
jdk5 =
assert system == "i686-linux";
assert system == "i686-linux" || system == "x86_64-linux";
import ../development/compilers/jdk/default-5.nix {
inherit fetchurl stdenv unzip;
};
jdk = jdkdistro true false;
jre = jdkdistro false false;