PHP can take mysql as a arugment
svn path=/nixpkgs/trunk/; revision=9558
This commit is contained in:
parent
ad350d8a80
commit
78746b036b
2 changed files with 6 additions and 2 deletions
|
@ -14,6 +14,10 @@ fi
|
|||
if test -n "$postgresql"; then
|
||||
configureFlags="$configureFlags --with-pgsql=$postgresql"
|
||||
fi
|
||||
|
||||
if test -n "$mysql"; then
|
||||
configureFlags="$configureFlags --with-mysql=$mysql"
|
||||
fi
|
||||
|
||||
makeFlags="APXS_LIBEXECDIR=$out/modules $makeFlags"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{stdenv, fetchurl, flex, bison, libxml2, apacheHttpd, unixODBC ? null, postgresql ? null}:
|
||||
{stdenv, fetchurl, flex, bison, libxml2, apacheHttpd, unixODBC ? null, postgresql ? null, mysql ? null}:
|
||||
|
||||
assert libxml2 != null;
|
||||
|
||||
|
@ -15,7 +15,7 @@ stdenv.mkDerivation {
|
|||
|
||||
buildInputs = [flex bison libxml2 apacheHttpd];
|
||||
|
||||
inherit unixODBC postgresql;
|
||||
inherit unixODBC postgresql mysql;
|
||||
|
||||
odbcSupport = unixODBC != null;
|
||||
|
||||
|
|
Loading…
Reference in a new issue