From cf23b0c4e5a7daf33aa5a16dba8e0a95ea030780 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Thu, 27 Oct 2011 22:03:41 +0000 Subject: [PATCH] Making dovecot2 not use $out/var for runtime files. svn path=/nixpkgs/trunk/; revision=30075 --- pkgs/servers/mail/dovecot/2.0.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/servers/mail/dovecot/2.0.nix b/pkgs/servers/mail/dovecot/2.0.nix index a2278533dad..15215fa06ce 100644 --- a/pkgs/servers/mail/dovecot/2.0.nix +++ b/pkgs/servers/mail/dovecot/2.0.nix @@ -10,6 +10,10 @@ stdenv.mkDerivation { sha256 = "03byp6alxxk65qfjjnqp6kcncs5cdiqgskx90nk9kcnynl1h6r33"; }; + # It will hardcode this for /var/lib/dovecot. + # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626211 + configureFlags = [ "--localstatedir=/var" ]; + meta = { homepage = http://dovecot.org/; description = "Open source IMAP and POP3 email server written with security primarily in mind";