From f725279cdd66e7739fd756807ef2a1c7b1611d51 Mon Sep 17 00:00:00 2001 From: Liliana Marie Prikler Date: Wed, 13 Oct 2021 21:32:07 +0200 Subject: [PATCH] gnu: emacs: Find real GVFS processes. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/emacs.scm (emacs)[#:phases]: Expand calls to “tramp-compat-process-running-p” so that Guix wrappers are also matched. --- gnu/packages/emacs.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 22d8db3839..0430a79716 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -136,6 +136,12 @@ "lisp/progmodes/sh-script.el") (("\"/bin/sh\"") (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")))) #t)) (add-before 'configure 'fix-/bin/pwd (lambda _