diff options
author | System administrator <robberer@freakmail.de> | 2014-06-11 12:58:40 +0200 |
---|---|---|
committer | System administrator <robberer@freakmail.de> | 2014-06-11 12:58:40 +0200 |
commit | 7b1b46b96bc282e96ad868de677058c3927bcd72 (patch) | |
tree | 19abe2539ba47d2c1eec15a2b7811e3b360272a3 /pkgs/development/interpreters/php | |
parent | 9b899d860065763454a3fcef79dbe15d06f3842b (diff) | |
download | nixlib-7b1b46b96bc282e96ad868de677058c3927bcd72.tar nixlib-7b1b46b96bc282e96ad868de677058c3927bcd72.tar.gz nixlib-7b1b46b96bc282e96ad868de677058c3927bcd72.tar.bz2 nixlib-7b1b46b96bc282e96ad868de677058c3927bcd72.tar.lz nixlib-7b1b46b96bc282e96ad868de677058c3927bcd72.tar.xz nixlib-7b1b46b96bc282e96ad868de677058c3927bcd72.tar.zst nixlib-7b1b46b96bc282e96ad868de677058c3927bcd72.zip |
mssql support for php-5.4
small changes to freetds see: http://www.php.net/manual/de/mssql.setup.php
Diffstat (limited to 'pkgs/development/interpreters/php')
-rw-r--r-- | pkgs/development/interpreters/php/5.4.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/development/interpreters/php/5.4.nix b/pkgs/development/interpreters/php/5.4.nix index 5aabb61586e6..99f18c175c3f 100644 --- a/pkgs/development/interpreters/php/5.4.nix +++ b/pkgs/development/interpreters/php/5.4.nix @@ -1,7 +1,7 @@ { stdenv, fetchurl, composableDerivation, autoconf, automake, flex, bison , apacheHttpd, mysql, libxml2, readline, zlib, curl, gd, postgresql, gettext , openssl, pkgconfig, sqlite, config, libiconv, libjpeg, libpng, freetype -, libxslt, libmcrypt, bzip2, icu, openldap, cyrus_sasl, libmhash }: +, libxslt, libmcrypt, bzip2, icu, openldap, cyrus_sasl, libmhash, freetds }: let libmcryptOverride = libmcrypt.override { disablePosixThreads = true; }; @@ -171,6 +171,11 @@ composableDerivation.composableDerivation {} ( fixed : let inherit (fixed.fixed) configureFlags = ["--enable-fpm"]; }; + mssql = { + configureFlags = ["--with-mssql=${freetds}"]; + buildInputs = [freetds]; + }; + /* php is build within this derivation in order to add the xdebug lines to the php.ini. So both Apache and command line php both use xdebug without having to configure anything. @@ -213,6 +218,7 @@ composableDerivation.composableDerivation {} ( fixed : let inherit (fixed.fixed) zipSupport = config.php.zip or true; ftpSupport = config.php.ftp or true; fpmSupport = config.php.fpm or true; + mssqlSupport = config.php.mssql or true; }; configurePhase = '' |