Added x86_64 version of JDK5
svn path=/nixpkgs/trunk/; revision=10272
This commit is contained in:
parent
dac5ce6e48
commit
d0792fd3bc
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user