3
0
Fork 0
forked from mirrors/nixpkgs

dovecot: enable darwin build

This commit is contained in:
Periklis Tsirakidis 2016-09-29 13:32:28 +02:00
parent f2e0484292
commit 9772f0f9a1

View file

@ -62,6 +62,7 @@ stdenv.mkDerivation rec {
"--with-lucene" "--with-lucene"
"--with-icu" "--with-icu"
] ++ lib.optional (stdenv.isLinux) "--with-systemdsystemunitdir=$(out)/etc/systemd/system" ] ++ lib.optional (stdenv.isLinux) "--with-systemdsystemunitdir=$(out)/etc/systemd/system"
++ lib.optional (stdenv.isDarwin) "--enable-static"
++ lib.optional withMySQL "--with-mysql" ++ lib.optional withMySQL "--with-mysql"
++ lib.optional withPgSQL "--with-pgsql" ++ lib.optional withPgSQL "--with-pgsql"
++ lib.optional withSQLite "--with-sqlite"; ++ lib.optional withSQLite "--with-sqlite";
@ -70,6 +71,6 @@ stdenv.mkDerivation rec {
homepage = "http://dovecot.org/"; homepage = "http://dovecot.org/";
description = "Open source IMAP and POP3 email server written with security primarily in mind"; description = "Open source IMAP and POP3 email server written with security primarily in mind";
maintainers = with stdenv.lib.maintainers; [viric peti rickynils]; maintainers = with stdenv.lib.maintainers; [viric peti rickynils];
platforms = stdenv.lib.platforms.linux; platforms = stdenv.lib.platforms.unix;
}; };
} }