diff options
author | Yannick Markus <ym@ymarkus.dev> | 2020-11-26 10:56:11 +0100 |
---|---|---|
committer | Yannick Markus <ym@ymarkus.dev> | 2020-11-26 10:56:11 +0100 |
commit | 0e87647421a5f98ab08cd924b039faed7f932953 (patch) | |
tree | 7424d3ca286b836e8df8f730d98938c3e3c1118a /pkgs/servers/mail/postfix | |
parent | db43258354c4f01adecf6a99dcd8f61e08ea55a2 (diff) |
postfix: fix "cant find <mysql.h>"
Diffstat (limited to 'pkgs/servers/mail/postfix')
-rw-r--r-- | pkgs/servers/mail/postfix/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/servers/mail/postfix/default.nix b/pkgs/servers/mail/postfix/default.nix index 694d7044b8a2..0b6ed49737d2 100644 --- a/pkgs/servers/mail/postfix/default.nix +++ b/pkgs/servers/mail/postfix/default.nix @@ -12,7 +12,7 @@ let "-DUSE_TLS" "-DUSE_SASL_AUTH" "-DUSE_CYRUS_SASL" "-I${cyrus_sasl.dev}/include/sasl" "-DHAS_DB_BYPASS_MAKEDEFS_CHECK" ] ++ lib.optional withPgSQL "-DHAS_PGSQL" - ++ lib.optionals withMySQL [ "-DHAS_MYSQL" "-I${libmysqlclient}/include/mysql" "-L${libmysqlclient}/lib/mysql" ] + ++ lib.optionals withMySQL [ "-DHAS_MYSQL" "-I${libmysqlclient.dev}/include/mysql" "-L${libmysqlclient}/lib/mysql" ] ++ lib.optional withSQLite "-DHAS_SQLITE" ++ lib.optionals withLDAP ["-DHAS_LDAP" "-DUSE_LDAP_SASL"]); auxlibs = lib.concatStringsSep " " ([ |