mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
php.extensions.enchant: use enchant2
enchant2 is supported in PHP8+. Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
This commit is contained in:
parent
2cae716942
commit
6efdd8b483
@ -9,7 +9,7 @@
|
||||
, bzip2
|
||||
, curl
|
||||
, cyrus_sasl
|
||||
, enchant1
|
||||
, enchant2
|
||||
, fetchpatch
|
||||
, freetds
|
||||
, freetype
|
||||
@ -311,10 +311,8 @@ lib.makeScope pkgs.newScope (self: with self; {
|
||||
}
|
||||
{
|
||||
name = "enchant";
|
||||
buildInputs = [ enchant1 ];
|
||||
configureFlags = [ "--with-enchant=${enchant1}" ];
|
||||
# enchant1 doesn't build on darwin.
|
||||
enable = (!stdenv.isDarwin);
|
||||
buildInputs = [ enchant2 ];
|
||||
configureFlags = [ "--with-enchant" ];
|
||||
doCheck = false;
|
||||
}
|
||||
{ name = "exif"; doCheck = false; }
|
||||
|
Loading…
Reference in New Issue
Block a user