aboutsummaryrefslogtreecommitdiff
path: root/pkgs/servers/mail
diff options
context:
space:
mode:
authorPhilipp Kern <pkern@google.com>2020-10-31 10:57:46 +0100
committerPhilipp Kern <pkern@google.com>2020-10-31 10:57:46 +0100
commitf433d25ea0e9e9256fb350878d3fd346977c3b16 (patch)
tree3b03330df168a92c3de5396829a1e7b9255c6368 /pkgs/servers/mail
parent8cab21b48b46086d5240dcee4dd018cb4a78c074 (diff)
exim: unconditionally build with dsearch lookups enabled
dsearch is required to do untainted lookups in directories. There's no reason not to build it in and it's a standard feature in other distributions.
Diffstat (limited to 'pkgs/servers/mail')
-rw-r--r--pkgs/servers/mail/exim/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/servers/mail/exim/default.nix b/pkgs/servers/mail/exim/default.nix
index 210863aa0078..8bd197f46c1d 100644
--- a/pkgs/servers/mail/exim/default.nix
+++ b/pkgs/servers/mail/exim/default.nix
@@ -48,6 +48,7 @@ stdenv.mkDerivation rec {
s:^# \(RM_COMMAND\)=.*:\1=${coreutils}/bin/rm:
s:^# \(TOUCH_COMMAND\)=.*:\1=${coreutils}/bin/touch:
s:^# \(PERL_COMMAND\)=.*:\1=${perl}/bin/perl:
+ s:^# \(LOOKUP_DSEARCH=yes\)$:\1:
${stdenv.lib.optionalString enableLDAP ''
s:^# \(LDAP_LIB_TYPE=OPENLDAP2\)$:\1:
s:^# \(LOOKUP_LDAP=yes\)$:\1: