mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 05:57:42 +00:00
dovecot: conditionalize some dependencies for Linux
This commit is contained in:
parent
783e27e32a
commit
7715e7e108
@ -3,7 +3,7 @@
|
||||
stdenv.mkDerivation rec {
|
||||
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 {
|
||||
url = "http://dovecot.org/releases/2.1/${name}.tar.gz";
|
||||
|
Loading…
Reference in New Issue
Block a user