aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-11-04 18:46:21 -0300
committerEuAndreh <eu@euandre.org>2022-11-04 18:46:21 -0300
commit6e32004bc32e4a3787e8a4ef9a5d44659aa3dfe6 (patch)
tree92711c0ba3117cd7213e3f15752fdfb4f58e78bc
parentetc/guix/home.scm: Add remhind (home-service ...) (diff)
downloaddotfiles-6e32004bc32e4a3787e8a4ef9a5d44659aa3dfe6.tar.gz
dotfiles-6e32004bc32e4a3787e8a4ef9a5d44659aa3dfe6.tar.xz
etc/guix/home.scm: Adapt to newest msmtp bad default values
-rw-r--r--etc/guix/home.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/guix/home.scm b/etc/guix/home.scm
index c62c0fe..116b8b4 100644
--- a/etc/guix/home.scm
+++ b/etc/guix/home.scm
@@ -123,8 +123,9 @@
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out")))
(substitute* (string-append out "/bin/msmtpq")
- (("^LOG=.*$") "LOG=$XDG_LOG_HOME/msmtpq.log\n")
- (("^Q=.*$") "Q=$XDG_DATA_HOME/msmtp/queue\n")
+ (("LOG=.*$") "LOG=\"$XDG_LOG_HOME\"/msmtpq.log\n")
+ (("^Q=.*$") "Q=\"$XDG_DATA_HOME\"/msmtp/queue\n")
+ (("^MSMTPQ_Q=.*$") "MSMTPQ_Q=\"$Q\"\n")
(("mkdir -m 0700 \"\\$Q\"") "mkdir -p -m 0700 \"$Q\"")))))))))))
(define (with-options pkg bin opts)