mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 19:08:30 +00:00
d62d2eea35
svn path=/nixpkgs/trunk/; revision=11595
10 lines
343 B
Nix
10 lines
343 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"
|
|
|