mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
41291a5b26
svn path=/nixpkgs/trunk/; revision=8708
11 lines
345 B
Nix
11 lines
345 B
Nix
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"
|