ideviceinstaller: fix build
The package ideviceinstaller fails to build, because it uses the deprecated function zip_get_num_entries. This commit allows the usage of deprecated functions to fix the build.
This commit is contained in:
parent
51d906d234
commit
261caf29f4
1 changed files with 5 additions and 0 deletions
|
@ -30,6 +30,11 @@ stdenv.mkDerivation rec {
|
||||||
libzip
|
libzip
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# the package uses zip_get_num_entries, which is deprecated
|
||||||
|
env.NIX_CFLAGS_COMPILE = toString [
|
||||||
|
"-Wno-error=deprecated-declarations"
|
||||||
|
];
|
||||||
|
|
||||||
preAutoreconf = ''
|
preAutoreconf = ''
|
||||||
export RELEASE_VERSION=${version}
|
export RELEASE_VERSION=${version}
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue