gnu: emacs: Fix tramp-remote-path.

This variable was moved from tramp-sh.el to tramp.el, causing the substitute*
snippet which patches it to silently fail.
See also <https://issues.guix.gnu.org/55443>.

* gnu/packages/emacs.scm (emacs)[source]<snippet>: Patch tramp.el rather than tramp-sh.el.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
John Kehayias 2022-06-21 21:22:26 -04:00 committed by Liliana Marie Prikler
parent 1766a502da
commit 4f9ac2afc7
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -106,7 +106,7 @@ (define-public emacs
;; Make sure Tramp looks for binaries in the right places on
;; remote Guix System machines, where 'getconf PATH' returns
;; something bogus.
(substitute* "net/tramp-sh.el"
(substitute* "net/tramp.el"
;; Patch the line after "(defcustom tramp-remote-path".
(("\\(tramp-default-remote-path")
(format #f "(tramp-default-remote-path ~s ~s ~s ~s "