mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-26 04:25:11 -06:00
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/2887f237a2b990fc4d5b01a7Change-Id: I419b994ca403a14c20520755116591196b724fae Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
ff5eb0811f
commit
775dbde5a4
1 changed files with 4 additions and 0 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue