mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
dspam: fix build with PostgreSQL support
This commit is contained in:
parent
ec6b547b17
commit
f0189a8b40
@ -49,7 +49,8 @@ in stdenv.mkDerivation rec {
|
||||
"--enable-preferences-extension"
|
||||
"--enable-long-usernames"
|
||||
"--enable-external-lookup"
|
||||
] ++ lib.optional withMySQL "--with-mysql-includes=${libmysql}/include/mysql";
|
||||
] ++ lib.optional withMySQL "--with-mysql-includes=${libmysql}/include/mysql"
|
||||
++ 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"
|
||||
# and fix directory structure manually after that.
|
||||
|
Loading…
Reference in New Issue
Block a user