1
0
Fork 1
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:
Shea Levy 2011-08-01 18:48:01 +00:00
parent ba497f837a
commit 02083734d1
2 changed files with 6 additions and 1 deletions

View file

@ -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 = {

View file

@ -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 {