GNU bug report logs -
#64534
emacs tramp-remote-path does not include guix home
Previous Next
To reply to this bug, email your comments to 64534 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#64534
; Package
guix
.
(Sat, 08 Jul 2023 18:13:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Zacchaeus Scheffer <zaccysc <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Sat, 08 Jul 2023 18:13:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
This bug report was last modified 1 year and 224 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.