summary refs log tree commit diff
path: root/pkgs/development/compilers/jdk/default.nix
blob: 8940be7f34d591c1e4c8e16e5ce84be2fd29df95 (plain) (blame)
1
2
3
4
5
6
7
8
9
args:

if args.stdenv.system == "i686-linux" || args.stdenv.system == "x86_64-linux" then
  (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"])
else
  abort "the JDK is not supported on this platform"