diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-04-30 04:51:50 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-04-30 04:51:56 +0300 |
commit | f0189a8b40acb81fa4a0898f7df582fef049c4f5 (patch) | |
tree | bf480512ffc29fdb1d5dd1dc946d4d6f6417acce /pkgs | |
parent | ec6b547b17d102c44f8817bae875418bd2797786 (diff) | |
download | nixlib-f0189a8b40acb81fa4a0898f7df582fef049c4f5.tar nixlib-f0189a8b40acb81fa4a0898f7df582fef049c4f5.tar.gz nixlib-f0189a8b40acb81fa4a0898f7df582fef049c4f5.tar.bz2 nixlib-f0189a8b40acb81fa4a0898f7df582fef049c4f5.tar.lz nixlib-f0189a8b40acb81fa4a0898f7df582fef049c4f5.tar.xz nixlib-f0189a8b40acb81fa4a0898f7df582fef049c4f5.tar.zst nixlib-f0189a8b40acb81fa4a0898f7df582fef049c4f5.zip |
dspam: fix build with PostgreSQL support
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/servers/mail/dspam/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/servers/mail/dspam/default.nix b/pkgs/servers/mail/dspam/default.nix index 3cd3ca7492dd..4c615e6f6b33 100644 --- a/pkgs/servers/mail/dspam/default.nix +++ b/pkgs/servers/mail/dspam/default.nix @@ -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. |