mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
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
9 lines
330 B
Nix
9 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"
|
|
|