From: Zacchaeus Scheffer <zaccysc@gmail.com>
To: 64534@debbugs.gnu.org
Subject: bug#64534: emacs tramp-remote-path does not include guix home
Date: Sat, 08 Jul 2023 11:12:05 -0700 [thread overview]
Message-ID: <87edli2ryi.fsf@gmail.com> (raw)
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
reply other threads:[~2023-07-08 18:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87edli2ryi.fsf@gmail.com \
--to=zaccysc@gmail.com \
--cc=64534@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).