me
/
guix
Archived
1
0
Fork 0

gnu: emacs: Find real GVFS processes.

* gnu/packages/emacs.scm (emacs)[#:phases]<patch-program-file-names>: Expand
calls to “tramp-compat-process-running-p” so that Guix wrappers are also
matched.
master
Liliana Marie Prikler 2021-10-13 21:32:07 +02:00
parent 269baba919
commit f725279cdd
No known key found for this signature in database
GPG Key ID: 442A84B8C70E2F87
1 changed files with 6 additions and 0 deletions

View File

@ -136,6 +136,12 @@
"lisp/progmodes/sh-script.el") "lisp/progmodes/sh-script.el")
(("\"/bin/sh\"") (("\"/bin/sh\"")
(format #f "~s" (which "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)) #t))
(add-before 'configure 'fix-/bin/pwd (add-before 'configure 'fix-/bin/pwd
(lambda _ (lambda _