summary refs log tree commit diff
path: root/pkgs/development/mobile
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-06-22 16:40:19 -0400
committerMatthew Bauer <mjbauer95@gmail.com>2018-06-22 16:41:08 -0400
commita7fc8ad140fdc95742b7a09e9e919ffc98112645 (patch)
treec4b36283beab2f7d7c8191cc9a47f0da0ad9d418 /pkgs/development/mobile
parente5d262e1cc61d2ac3c77907e71a2449b4fec4698 (diff)
downloadnixlib-a7fc8ad140fdc95742b7a09e9e919ffc98112645.tar
nixlib-a7fc8ad140fdc95742b7a09e9e919ffc98112645.tar.gz
nixlib-a7fc8ad140fdc95742b7a09e9e919ffc98112645.tar.bz2
nixlib-a7fc8ad140fdc95742b7a09e9e919ffc98112645.tar.lz
nixlib-a7fc8ad140fdc95742b7a09e9e919ffc98112645.tar.xz
nixlib-a7fc8ad140fdc95742b7a09e9e919ffc98112645.tar.zst
nixlib-a7fc8ad140fdc95742b7a09e9e919ffc98112645.zip
androidndk: use unzip
This is a free version and preferred to 7zip.
Diffstat (limited to 'pkgs/development/mobile')
-rw-r--r--pkgs/development/mobile/androidenv/androidndk.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/mobile/androidenv/androidndk.nix b/pkgs/development/mobile/androidenv/androidndk.nix
index 7550830a4efd..3f9e53089c18 100644
--- a/pkgs/development/mobile/androidenv/androidndk.nix
+++ b/pkgs/development/mobile/androidenv/androidndk.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, zlib, ncurses5, p7zip, lib, makeWrapper
+{ stdenv, fetchurl, zlib, ncurses5, unzip, lib, makeWrapper
 , coreutils, file, findutils, gawk, gnugrep, gnused, jdk, which
 , platformTools, python3, libcxx, version, sha256
 }:
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
 
   phases = "buildPhase";
 
-  nativeBuildInputs = [ p7zip makeWrapper file ];
+  nativeBuildInputs = [ unzip makeWrapper file ];
 
   buildCommand = let
     bin_path = "$out/bin";
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
   in ''
     mkdir -pv $out/libexec
     cd $out/libexec
-    7z x $src
+    unzip -qq $src
 
     patchShebangs ${pkg_path}