phpPackages.imagick: fix cross compilation

(cherry picked from commit 7a27271549)
This commit is contained in:
Jonas Heinrich
2025-12-27 16:52:01 +01:00
committed by asrar
parent 9563688377
commit 8096ec7997

View File

@@ -1,11 +1,9 @@
{
buildPecl,
fetchpatch,
lib,
imagemagick,
pkg-config,
pcre2,
php,
}:
buildPecl {
@@ -15,7 +13,11 @@ buildPecl {
sha256 = "sha256-vaZ0YchU8g1hBXgrdpxST8NziLddRIHZUWRNIWf/7sY=";
configureFlags = [ "--with-imagick=${imagemagick.dev}" ];
depsBuildBuild = [ pkg-config ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ pcre2 ];
meta = {