androidndk: use unzip
This is a free version and preferred to 7zip.
This commit is contained in:
parent
e5d262e1cc
commit
a7fc8ad140
@ -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
|
, coreutils, file, findutils, gawk, gnugrep, gnused, jdk, which
|
||||||
, platformTools, python3, libcxx, version, sha256
|
, platformTools, python3, libcxx, version, sha256
|
||||||
}:
|
}:
|
||||||
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
phases = "buildPhase";
|
phases = "buildPhase";
|
||||||
|
|
||||||
nativeBuildInputs = [ p7zip makeWrapper file ];
|
nativeBuildInputs = [ unzip makeWrapper file ];
|
||||||
|
|
||||||
buildCommand = let
|
buildCommand = let
|
||||||
bin_path = "$out/bin";
|
bin_path = "$out/bin";
|
||||||
@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
|
|||||||
in ''
|
in ''
|
||||||
mkdir -pv $out/libexec
|
mkdir -pv $out/libexec
|
||||||
cd $out/libexec
|
cd $out/libexec
|
||||||
7z x $src
|
unzip -qq $src
|
||||||
|
|
||||||
patchShebangs ${pkg_path}
|
patchShebangs ${pkg_path}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user