all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Using tramp with guixsd install image
@ 2017-06-30 20:15 Divan Santana
  2017-07-01 14:01 ` Ludovic Courtès
  2017-07-01 15:21 ` Alex Kost
  0 siblings, 2 replies; 7+ messages in thread
From: Divan Santana @ 2017-06-30 20:15 UTC (permalink / raw)
  To: help-guix

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")
  ;; https://lists.gnu.org/archive/html/help-guix/2016-10/msg00049.html
  (setq tramp-remote-path
        (append tramp-remote-path
                '("~/.guix-profile/bin" "~/.guix-profile/sbin"
                  "/run/current-system/profile/bin"
                  "/run/current-system/profile/sbin")))

And I try open path:
=/ssh:root@192.168.122.236:/mnt/etc/config.scm=

However this results in "pid died" message. (Sometimes my emacs even
crashes.)

Anyway, after a bit of debugging there is a tramp buffer that pops up
briefly and reports

env /bin/sh no such file

If in the VM, I do a hack like

ln -s /run/current-system/profile/bin/sh /bin/sh

Then tramp works without issue.

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

(sorry this is more of an emacs then guix question)

Divan

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-07-02 18:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-30 20:15 Using tramp with guixsd install image Divan Santana
2017-07-01 14:01 ` Ludovic Courtès
2017-07-01 20:36   ` Divan Santana
2017-07-02 14:46     ` Ludovic Courtès
2017-07-02 18:43       ` Divan Santana
2017-07-01 15:21 ` Alex Kost
2017-07-01 21:14   ` Divan Santana

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.