From 261caf29f49d0c14d6896639be3b033aa305e977 Mon Sep 17 00:00:00 2001 From: netali Date: Sun, 22 Oct 2023 00:19:32 +0200 Subject: [PATCH] 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. --- pkgs/tools/misc/ideviceinstaller/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/tools/misc/ideviceinstaller/default.nix b/pkgs/tools/misc/ideviceinstaller/default.nix index c140b9ba1a81..84f1d440c586 100644 --- a/pkgs/tools/misc/ideviceinstaller/default.nix +++ b/pkgs/tools/misc/ideviceinstaller/default.nix @@ -30,6 +30,11 @@ stdenv.mkDerivation rec { libzip ]; + # the package uses zip_get_num_entries, which is deprecated + env.NIX_CFLAGS_COMPILE = toString [ + "-Wno-error=deprecated-declarations" + ]; + preAutoreconf = '' export RELEASE_VERSION=${version} '';