diff --git a/pkgs/development/compilers/jdk/jdk7-linux.nix b/pkgs/development/compilers/jdk/jdk7-linux.nix index 42a84fb16ab..a7a5eccee9d 100644 --- a/pkgs/development/compilers/jdk/jdk7-linux.nix +++ b/pkgs/development/compilers/jdk/jdk7-linux.nix @@ -1,6 +1,7 @@ { swingSupport ? true , stdenv , requireFile +, unzip , xlibs ? null , installjdk ? true , pluginSupport ? true @@ -54,6 +55,8 @@ stdenv.mkDerivation { else abort "jdk requires i686-linux or x86_64 linux"; + buildInputs = if installjce then [ unzip ] else []; + installPhase = '' cd .. if test -z "$installjdk"; then