2008-04-12 00:13:51 +02:00
|
|
|
args:
|
2004-01-25 00:46:00 +01:00
|
|
|
|
2008-04-12 00:13:51 +02: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 23:42:07 +02:00
|
|
|
(import ./jdk5-ibm-powerpc-linux.nix) (removeAttrs args ["pluginSupport" "xlibs" "installjdk"])
|
2008-04-12 00:13:51 +02:00
|
|
|
else
|
|
|
|
abort "the JDK is not supported on this platform"
|
2007-03-05 18:13:53 +01:00
|
|
|
|