phpPackages.exts.gmp: Enable on darwin
This commit is contained in:
parent
a5f77d6ea2
commit
da8ca2be2f
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, lib, pkgs, fetchgit, php, autoconf, pkgconfig, re2c
|
{ stdenv, lib, pkgs, fetchgit, php, autoconf, pkgconfig, re2c
|
||||||
, bzip2, curl, libxml2, openssl, gmp5, icu, oniguruma, libsodium, html-tidy
|
, bzip2, curl, libxml2, openssl, gmp, icu, oniguruma, libsodium, html-tidy
|
||||||
, libzip, zlib, pcre, pcre2, libxslt, aspell, openldap, cyrus_sasl, uwimap
|
, libzip, zlib, pcre, pcre2, libxslt, aspell, openldap, cyrus_sasl, uwimap
|
||||||
, pam, libiconv, enchant1, libXpm, gd, libwebp, libjpeg, libpng, freetype
|
, pam, libiconv, enchant1, libXpm, gd, libwebp, libjpeg, libpng, freetype
|
||||||
, libffi, freetds, postgresql, sqlite, recode, net-snmp, unixODBC }:
|
, libffi, freetds, postgresql, sqlite, recode, net-snmp, unixODBC }:
|
||||||
@ -780,10 +780,8 @@ let
|
|||||||
];
|
];
|
||||||
enable = lib.versionOlder php.version "7.4"; }
|
enable = lib.versionOlder php.version "7.4"; }
|
||||||
{ name = "gmp";
|
{ name = "gmp";
|
||||||
buildInputs = [ gmp5 ];
|
buildInputs = [ gmp ];
|
||||||
configureFlags = [ "--with-gmp=${gmp5.dev}" ];
|
configureFlags = [ "--with-gmp=${gmp.dev}" ]; }
|
||||||
# gmp5 doesn't build on darwin.
|
|
||||||
enable = (!stdenv.isDarwin); }
|
|
||||||
{ name = "hash"; enable = lib.versionOlder php.version "7.4"; }
|
{ name = "hash"; enable = lib.versionOlder php.version "7.4"; }
|
||||||
{ name = "iconv"; configureFlags = if stdenv.isDarwin then
|
{ name = "iconv"; configureFlags = if stdenv.isDarwin then
|
||||||
[ "--with-iconv=${libiconv}" ]
|
[ "--with-iconv=${libiconv}" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user