all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludovic.courtes@inria.fr (Ludovic Courtès)
To: guix-devel <guix-devel@gnu.org>
Subject: ‘guix’ commands can talk to remote daemons
Date: Fri, 21 Apr 2017 19:32:50 +0200	[thread overview]
Message-ID: <87a879br99.fsf@gnu.org> (raw)

Hello Guix!

With what I committed today, it is possible to make ‘guix’ commands talk
to remote daemons, either using the raw protocol (unencrypted,
unauthenticated) or over SSH:

  GUIX_DAEMON_SOCKET=guix://guix.example.org:1234 guix build foo

  GUIX_DAEMON_SOCKET=ssh://alice@guix.example.org guix gc

It’s pretty fun but there’s a couple of caveats:

  1. It’s slow.  This is because the protocol with the daemon currently
     incurs a lot of round trips.  We should probably redesign some of
     the RPCs to be more efficient and pipelinable.

  2. (guix derivations) may try to access .drv files in the local store
     when it should really be accessing files from the remote store.
     The store abstraction on the client side may have to be extended to
     address this.

That’s it.

Feedback welcome!

Ludo’.

                 reply	other threads:[~2017-04-21 17:32 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a879br99.fsf@gnu.org \
    --to=ludovic.courtes@inria.fr \
    --cc=guix-devel@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 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.