mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-30 16:10:36 +00:00
phpPackages.imagick: fix cross compilation
(cherry picked from commit 7a27271549)
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user