* bug#64534: emacs tramp-remote-path does not include guix home
@ 2023-07-08 18:12 Zacchaeus Scheffer
0 siblings, 0 replies; only message in thread
From: Zacchaeus Scheffer @ 2023-07-08 18:12 UTC (permalink / raw)
To: 64534
Hi Guix!
I noticed that the emacs package has the following value for
tramp-remote-path out of the box:
(tramp-default-remote-path "~/.guix-profile/bin" "~/.guix-profile/sbin"
"/run/current-system/profile/bin" "/run/current-system/profile/sbin"
"/bin" "/usr/bin" "/sbin" "/usr/sbin" "/usr/local/bin" ...)
This does not seem to include guix home bin dirs. Indeed, when I
connect to my remote machine via tramp, and try to run "git", I get:
git: command not found
This can be fixed by evaluating:
(setq tramp-remote-path (-cons* "~/.guix-home/profile/bin"
"~/.guix-home/profile/sbin"
tramp-remote-path))
(tramp-cleanup-all-connections)
In which case, running "git" in a remote shell gives the expected git
help message.
Is there a reason guix home bin dirs are omitted?
-Zacchae
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-07-08 18:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-08 18:12 bug#64534: emacs tramp-remote-path does not include guix home Zacchaeus Scheffer
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).