mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 21:21:06 +00:00
Add openjre
svn path=/nixpkgs/trunk/; revision=28117
This commit is contained in:
parent
ba497f837a
commit
02083734d1
|
@ -18,6 +18,7 @@
|
|||
, libXtst
|
||||
, libXi
|
||||
, cpio
|
||||
, jreOnly ? false
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -81,7 +82,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
installPhase = ''
|
||||
ensureDir $out
|
||||
cp -av build/*/j2sdk-image/* $out
|
||||
cp -av build/*/j2${if jreOnly then "re" else "sdk"}-image/* $out
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
|
|
@ -2119,6 +2119,10 @@ let
|
|||
|
||||
openjdk = callPackage ../development/compilers/openjdk { };
|
||||
|
||||
openjre = callPackage ../development/compilers/openjdk {
|
||||
jreOnly = true;
|
||||
};
|
||||
|
||||
j2sdk14x = (
|
||||
assert system == "i686-linux";
|
||||
import ../development/compilers/jdk/default-1.4.nix {
|
||||
|
|
Loading…
Reference in a new issue