about summary refs log tree commit diff
path: root/pkgs/development/compilers
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2013-12-09 13:25:07 -0500
committerShea Levy <shea@shealevy.com>2013-12-09 13:25:07 -0500
commitac21aa9a8295c60ac846abcb26e54878dabe2f4f (patch)
tree9a802fc030efdb64b8449f524adb035bb0ffbab3 /pkgs/development/compilers
parent9131b45db45c2a2807f92a52f6cb23ea59c22578 (diff)
downloadnixlib-ac21aa9a8295c60ac846abcb26e54878dabe2f4f.tar
nixlib-ac21aa9a8295c60ac846abcb26e54878dabe2f4f.tar.gz
nixlib-ac21aa9a8295c60ac846abcb26e54878dabe2f4f.tar.bz2
nixlib-ac21aa9a8295c60ac846abcb26e54878dabe2f4f.tar.lz
nixlib-ac21aa9a8295c60ac846abcb26e54878dabe2f4f.tar.xz
nixlib-ac21aa9a8295c60ac846abcb26e54878dabe2f4f.tar.zst
nixlib-ac21aa9a8295c60ac846abcb26e54878dabe2f4f.zip
Unpacking jce requires zip
Signed-off-by: Shea Levy <shea@shealevy.com>
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r--pkgs/development/compilers/jdk/jdk7-linux.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/compilers/jdk/jdk7-linux.nix b/pkgs/development/compilers/jdk/jdk7-linux.nix
index 42a84fb16ab1..a7a5eccee9d5 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