faba06ce54
LD_LIBRARY_PATH elements, since they can use patchelf --rpath if necessary. * Flashplayer / JRE: do just that. * JRE: libstdcpp5 no longer seems to be necessary for the plugin. svn path=/nixpkgs/trunk/; revision=12094
10 lines
330 B
Nix
10 lines
330 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 ["pluginSupport" "xlibs" "installjdk"])
|
|
else
|
|
abort "the JDK is not supported on this platform"
|
|
|