summary refs log tree commit diff
path: root/nixos/modules/services/mail/dovecot.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2016-03-02 16:10:59 +0100
committerPeter Simons <simons@cryp.to>2016-03-02 16:11:49 +0100
commited5eb2aed8343e0bd5d635e46514daa9a34a8bde (patch)
tree6a8edbfea930bc0b59b14dc1f06287a120abc7f7 /nixos/modules/services/mail/dovecot.nix
parentbd7f379a3f4d661a0ae611e7ca4d7d85297f13d7 (diff)
downloadnixpkgs-ed5eb2aed8343e0bd5d635e46514daa9a34a8bde.tar
nixpkgs-ed5eb2aed8343e0bd5d635e46514daa9a34a8bde.tar.gz
nixpkgs-ed5eb2aed8343e0bd5d635e46514daa9a34a8bde.tar.bz2
nixpkgs-ed5eb2aed8343e0bd5d635e46514daa9a34a8bde.tar.lz
nixpkgs-ed5eb2aed8343e0bd5d635e46514daa9a34a8bde.tar.xz
nixpkgs-ed5eb2aed8343e0bd5d635e46514daa9a34a8bde.tar.zst
nixpkgs-ed5eb2aed8343e0bd5d635e46514daa9a34a8bde.zip
Fix Emacs syntax highlighting in NixOS dovecot module.
Diffstat (limited to 'nixos/modules/services/mail/dovecot.nix')
-rw-r--r--nixos/modules/services/mail/dovecot.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/mail/dovecot.nix b/nixos/modules/services/mail/dovecot.nix
index 333a03315bc..3935c14dc8c 100644
--- a/nixos/modules/services/mail/dovecot.nix
+++ b/nixos/modules/services/mail/dovecot.nix
@@ -254,7 +254,7 @@ in
         ${concatStringsSep "\n" (mapAttrsToList (to: from: ''
           if [ -d '${from}' ]; then
             mkdir '${stateDir}/sieve/${to}'
-            cp ${from}/*.sieve '${stateDir}/sieve/${to}'
+            cp "${from}/"*.sieve '${stateDir}/sieve/${to}'
           else
             cp '${from}' '${stateDir}/sieve/${to}'
           fi