2008-04-11 23:13:51 +01:00
|
|
|
args:
|
2004-01-24 23:46:00 +00:00
|
|
|
|
2008-04-11 23:13:51 +01:00
|
|
|
if args.stdenv.system == "i686-linux" || args.stdenv.system == "x86_64-linux" then
|
|
|
|
(import ./jdk6-linux.nix) args
|
|
|
|
else if args.stdenv.system == "powerpc-linux" then
|
2008-06-14 22:42:07 +01:00
|
|
|
(import ./jdk5-ibm-powerpc-linux.nix) (removeAttrs args ["pluginSupport" "xlibs" "installjdk"])
|
2008-04-11 23:13:51 +01:00
|
|
|
else
|
|
|
|
abort "the JDK is not supported on this platform"
|
2007-03-05 17:13:53 +00:00
|
|
|
|