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
|
2010-05-27 13:04:45 +02:00
|
|
|
(import ./jdk6-linux.nix) ( removeAttrs args ["cabextract"] )
|
|
|
|
else if args.stdenv.system == "i686-cygwin" then
|
|
|
|
(import ./jdk6-cygwin.nix) (removeAttrs args ["pluginSupport" "xlibs" "installjdk" "xlibs"])
|
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
|
|
|
|