[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using tramp with guixsd install image

From: Alex Kost
Subject: Re: Using tramp with guixsd install image
Date: Sat, 01 Jul 2017 18:21:25 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Divan Santana (2017-06-30 22:15 +0200) wrote:

> Hi,
> Trying to use my emacs (on arch linux) with the guixsd system from the
> 0.13 image and ssh-daemon. By image, this is a fresh VM booted
> guixsd-usb-install-0.13.0.x86_64-linux and about to install guixsd .
> This Used to work with 0.12 image.
> Now I have this set
>   ;; ;; TRAMP and guix settings
>   (setq tramp-default-method "scp")
>   ;;
>   (setq tramp-remote-path
>         (append tramp-remote-path
>                 '("~/.guix-profile/bin" "~/.guix-profile/sbin"
>                   "/run/current-system/profile/bin"
>                   "/run/current-system/profile/sbin")))

With this ^^^ your additional paths are "shadowed" by the default
value of 'tramp-remote-path'.  Try to make it reverse:

   (setq tramp-remote-path
         (append '("~/.guix-profile/bin" "~/.guix-profile/sbin"

However I don't think you need to set all these paths manually.

The different behavior between 0.12 and 0.13 may be caused by this

i.e. your problem may occur because 'tramp-default-remote-path' is the
first element of 'tramp-remote-path' variable now.

> How can one configure tramp to work without the above hack?

I don't know if it will help you or not, but here is the setting I have
in my emacs config, which works for me for years:

(with-eval-after-load 'tramp-sh
  (push 'tramp-own-remote-path tramp-remote-path))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]