mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 04:57:56 +03:00
added zlib support to PHP
svn path=/nixpkgs/trunk/; revision=10703
This commit is contained in:
parent
4b009da5fd
commit
4122366233
@ -411,6 +411,7 @@ args:
|
|||||||
|
|
||||||
# Extensions
|
# Extensions
|
||||||
|
|
||||||
|
zlib = { cfgOption = "--with-zlib=${args.zlib}"; pass = "zlib"; };
|
||||||
|
|
||||||
libxml2 = { cfgOption = "--with-libxml-dir=\$libxml2";
|
libxml2 = { cfgOption = "--with-libxml-dir=\$libxml2";
|
||||||
pass = { inherit (args) libxml2; };
|
pass = { inherit (args) libxml2; };
|
||||||
@ -459,7 +460,7 @@ args:
|
|||||||
};
|
};
|
||||||
|
|
||||||
defaults = [ "mysql" "mysqli" "pdo_mysql" "libxml2" "apxs2" ];
|
defaults = [ "mysql" "mysqli" "pdo_mysql" "libxml2" "apxs2" ];
|
||||||
optionals = [ "libxml2" "gettext" "postgresql"];
|
optionals = [ "libxml2" "gettext" "postgresql" "zlib"];
|
||||||
|
|
||||||
# Don't konw wether they should be default.. I use them - Marc
|
# Don't konw wether they should be default.. I use them - Marc
|
||||||
|
|
||||||
|
@ -1648,6 +1648,7 @@ rec {
|
|||||||
inherit fetchurl flex bison apacheHttpd mysql; # gettext;
|
inherit fetchurl flex bison apacheHttpd mysql; # gettext;
|
||||||
inherit libxml2;
|
inherit libxml2;
|
||||||
inherit postgresql;
|
inherit postgresql;
|
||||||
|
inherit zlib;
|
||||||
flags = [ "xdebug" "mysql" "mysqli" "pdo_mysql" "libxml2" "apxs2" ];
|
flags = [ "xdebug" "mysql" "mysqli" "pdo_mysql" "libxml2" "apxs2" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user