diff options
| author | Raven Hallsby <karl@hallsby.com> | 2025-11-26 22:44:33 -0600 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2025-11-27 14:22:24 +0100 |
| commit | 775dbde5a4e53bf27cb5df78230b44a354dbcb4b (patch) | |
| tree | 3a6f1697d0a4db616e2645d75e08ae6b852469b0 /gnu | |
| parent | ff5eb0811f8a3d5aa32d572d13928ded5fd2cabd (diff) | |
gnu: mu: Add additional file to patch-bin-references phase.
* gnu/packages/mail.scm (mu): Add mu-utils-file.cc's call to /bin/rm to
patch-bin-references phase.
When mu runs as a server, it creates a randomly-named temporary directory in
`/tmp/`. Mu previously hard-coded a path to `/bin/rm` for removing this
directory when the server closed. We missed this one in the phase that patches
these paths.
This has also been reported upstream, but will only make it into the next
release of mu. In the meantime, we can just patch the /bin/rm for ours and
remove the whole phase when the next release happens.
https://github.com/djcb/mu/issues/2887
https://github.com/djcb/mu/commit/f237a2b9905475fb95da6a04e318d10cab61ddeb
https://github.com/djcb/mu/commit/fc4d5b01a703e8c8cc390cfea135f08d3b45ccab
Change-Id: I419b994ca403a14c20520755116591196b724fae
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/mail.scm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 481775e362b..9f0c21acfd7 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -1376,12 +1376,16 @@ security functionality including PGP, S/MIME, SSH, and SSL.") #~(list (format #f "-Dguile-extension-dir=~a/lib" #$output)) #:phases #~(modify-phases %standard-phases + ;; This phase can be removed in the next major release of mu. + ;; <https://github.com/djcb/mu/commit/f237a2b9905475fb95da6a04e318d10cab61ddeb> + ;; <https://github.com/djcb/mu/commit/fc4d5b01a703e8c8cc390cfea135f08d3b45ccab> (add-after 'unpack 'patch-bin-references (lambda _ (substitute* '("guile/tests/test-mu-guile.cc" "mu/tests/test-mu-query.cc") (("/bin/sh") (which "sh"))) (substitute* '("lib/tests/bench-indexer.cc" + "lib/utils/mu-utils-file.cc" "lib/utils/mu-test-utils.cc") (("/bin/rm") (which "rm"))) (substitute* '("lib/mu-maildir.cc") |
