nixpkgs/pkgs/development/compilers/jdk/default-5.nix
Sander van der Burg d0792fd3bc Added x86_64 version of JDK5
svn path=/nixpkgs/trunk/; revision=10272
2008-01-24 10:14:33 +00:00

10 lines
251 B
Nix

{stdenv, fetchurl, unzip}:
if stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux"
then
(import ./jdk5-sun-linux.nix) {
inherit stdenv fetchurl unzip;
}
else
abort "the Java 5 SDK is not supported on this platform"