mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 04:57:56 +03:00
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
|
||||
, 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}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user