2005-10-08 00:27:42 +02:00
|
|
|
args:
|
2004-01-25 00:46:00 +01:00
|
|
|
|
2007-03-17 15:37:23 +01:00
|
|
|
if args.stdenv.system == "i686-linux" || args.stdenv.system == "x86_64-linux" then
|
2007-03-05 18:13:53 +01:00
|
|
|
(import ./jdk6-linux.nix) args
|
|
|
|
|
2006-08-31 03:51:41 +02:00
|
|
|
else if args.stdenv.system == "powerpc-linux" then
|
2007-05-16 16:49:28 +02:00
|
|
|
(import ./jdk5-ibm-powerpc-linux.nix) (removeAttrs args ["libstdcpp5" "pluginSupport" "xlibs" "installjdk"])
|
2007-03-05 18:13:53 +01:00
|
|
|
|
2006-08-31 03:51:41 +02:00
|
|
|
else
|
2007-04-16 12:07:06 +02:00
|
|
|
abort "the JDK is not supported on this platform"
|