mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 12:59:04 +02:00
dspam: libmysql -> mysql 5.7
This commit is contained in:
parent
c9db834ee7
commit
c146b7bfaa
|
@ -1,7 +1,7 @@
|
||||||
{ stdenv, lib, fetchurl, makeWrapper
|
{ stdenv, lib, fetchurl, makeWrapper
|
||||||
, gawk, gnused, gnugrep, coreutils, which
|
, gawk, gnused, gnugrep, coreutils, which
|
||||||
, perl, NetSMTP
|
, perl, NetSMTP
|
||||||
, withMySQL ? false, zlib, libmysql
|
, withMySQL ? false, zlib, mysql57
|
||||||
, withPgSQL ? false, postgresql
|
, withPgSQL ? false, postgresql
|
||||||
, withSQLite ? false, sqlite
|
, withSQLite ? false, sqlite
|
||||||
, withDB ? false, db
|
, withDB ? false, db
|
||||||
|
@ -26,7 +26,7 @@ in stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ perl ]
|
buildInputs = [ perl ]
|
||||||
++ lib.optionals withMySQL [ zlib libmysql ]
|
++ lib.optionals withMySQL [ zlib mysql57.connector-c ]
|
||||||
++ lib.optional withPgSQL postgresql
|
++ lib.optional withPgSQL postgresql
|
||||||
++ lib.optional withSQLite sqlite
|
++ lib.optional withSQLite sqlite
|
||||||
++ lib.optional withDB db;
|
++ lib.optional withDB db;
|
||||||
|
@ -49,7 +49,7 @@ in stdenv.mkDerivation rec {
|
||||||
"--enable-preferences-extension"
|
"--enable-preferences-extension"
|
||||||
"--enable-long-usernames"
|
"--enable-long-usernames"
|
||||||
"--enable-external-lookup"
|
"--enable-external-lookup"
|
||||||
] ++ lib.optional withMySQL "--with-mysql-includes=${lib.getDev libmysql}/include/mysql"
|
] ++ lib.optional withMySQL "--with-mysql-includes=${mysql57.connector-c}/include/mysql"
|
||||||
++ lib.optional withPgSQL "--with-pgsql-libraries=${postgresql.lib}/lib";
|
++ lib.optional withPgSQL "--with-pgsql-libraries=${postgresql.lib}/lib";
|
||||||
|
|
||||||
# Lots of things are hardwired to paths like sysconfdir. That's why we install with both "prefix" and "DESTDIR"
|
# Lots of things are hardwired to paths like sysconfdir. That's why we install with both "prefix" and "DESTDIR"
|
||||||
|
|
Loading…
Reference in a new issue