dovecot: conditionalize some dependencies for Linux
This commit is contained in:
parent
783e27e32a
commit
7715e7e108
|
@ -3,7 +3,7 @@
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "dovecot-2.1.17";
|
name = "dovecot-2.1.17";
|
||||||
|
|
||||||
buildInputs = [openssl pam bzip2 zlib inotifyTools openldap];
|
buildInputs = [openssl bzip2 zlib openldap] ++ stdenv.lib.optionals stdenv.isLinux [pam inotifyTools];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://dovecot.org/releases/2.1/${name}.tar.gz";
|
url = "http://dovecot.org/releases/2.1/${name}.tar.gz";
|
||||||
|
|
Loading…
Reference in a new issue