diff mbox series

[bug#51188] gnu: emacs: Find real GVFS processes.

Message ID e2f7cf953c7e899c5d0ce8752c70cfd611e534e3.camel@gmail.com
State New
Headers show
Series [bug#51188] gnu: emacs: Find real GVFS processes. | expand


Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

Liliana Marie Prikler Oct. 13, 2021, 7:32 p.m. UTC
* gnu/packages/emacs.scm (emacs)[#:phases]<patch-program-file-names>: Expand
calls to “tramp-compat-process-running-p” so that Guix wrappers are also
 gnu/packages/emacs.scm | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox series


diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 6d9950d068..a59931ddc4 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -136,6 +136,12 @@ 
                 (format #f "~s" (which "sh"))))
+             ;; match ".gvfs-fuse-daemon-real" and ".gvfsd-fuse-real"
+             ;; respectively when looking for GVFS processes.
+             (substitute* "lisp/net/tramp-gvfs.el"
+               (("\\(tramp-compat-process-running-p \"(.*)\"\\)" all process)
+                (format #f "(or ~a (tramp-compat-process-running-p ~s))"
+                        all (string-append "." process "-real"))))
          (add-before 'configure 'fix-/bin/pwd
            (lambda _