summary refs log blame commit diff
path: root/pkgs/development/compilers/jdk/default.nix
blob: d7921d540023e2676dbd95a9a458ace4aa3f7d39 (plain) (tree)
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) args

else if args.stdenv.system == "powerpc-linux"  then
  (import ./jdk5-ibm-powerpc-linux.nix) (removeAttrs args ["libstdcpp5" "pluginSupport" "xlibs" "installjdk"])

else
  abort "the JDK is not supported on this platform"