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:
netali 2023-10-22 00:19:32 +02:00
parent 51d906d234
commit 261caf29f4
No known key found for this signature in database
GPG key ID: 9C55E636426B40A9

View file

@ -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}
''; '';