1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

Merge pull request #19076 from periklis/topic_dovecot

dovecot: enable darwin build
This commit is contained in:
Peter Simons 2016-09-29 15:45:28 +02:00 committed by GitHub
commit d286a68887

View file

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