Add libplist runtime dep (plist-d dlopens it; fixes silent provisioning failure)

This commit is contained in:
Hermes
2026-08-08 11:44:40 +00:00
parent af8d36af8b
commit ae00243185
+7 -1
View File
@@ -4,6 +4,7 @@
fetchFromGitHub,
zlib,
openssl_1_1,
libplist,
}:
buildDubPackage rec {
@@ -19,7 +20,12 @@ buildDubPackage rec {
dubLock = ./dub-lock.json;
buildInputs = [ zlib openssl_1_1 ];
# libplist is dlopen'd at runtime by the plist-d C binding (libplist-2.0.so.3).
# The reference Docker image installs it explicitly (see Dadoum/anisette-v3-server#46:
# "Anisette did build but not run with current Dockerfile, I have added the
# dependencies"). Without it the ADI provisioning step fails silently and the
# server serves unprovisioned data, so Apple rejects the login.
buildInputs = [ zlib openssl_1_1 libplist ];
installPhase = ''
runHook preInstall