summary refs log tree commit diff
path: root/pkgs/servers/mail/dovecot
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2011-10-27 22:03:41 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2011-10-27 22:03:41 +0000
commitcf23b0c4e5a7daf33aa5a16dba8e0a95ea030780 (patch)
tree86da9780a5ec6732b8a2fc4b41b908f1aa3c1a9a /pkgs/servers/mail/dovecot
parent49456aaec2e3fe2aa8bfe1e42e4fd73a955779c5 (diff)
downloadnixpkgs-cf23b0c4e5a7daf33aa5a16dba8e0a95ea030780.tar
nixpkgs-cf23b0c4e5a7daf33aa5a16dba8e0a95ea030780.tar.gz
nixpkgs-cf23b0c4e5a7daf33aa5a16dba8e0a95ea030780.tar.bz2
nixpkgs-cf23b0c4e5a7daf33aa5a16dba8e0a95ea030780.tar.lz
nixpkgs-cf23b0c4e5a7daf33aa5a16dba8e0a95ea030780.tar.xz
nixpkgs-cf23b0c4e5a7daf33aa5a16dba8e0a95ea030780.tar.zst
nixpkgs-cf23b0c4e5a7daf33aa5a16dba8e0a95ea030780.zip
Making dovecot2 not use $out/var for runtime files.
svn path=/nixpkgs/trunk/; revision=30075
Diffstat (limited to 'pkgs/servers/mail/dovecot')
-rw-r--r--pkgs/servers/mail/dovecot/2.0.nix4
1 files changed, 4 insertions, 0 deletions
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";