guix-patches
[Top][All Lists]
Advanced

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

[bug#45312] [PATCH] ssh: Use 'guix repl' instead of 'guile'.


From: Ludovic Courtès
Subject: [bug#45312] [PATCH] ssh: Use 'guix repl' instead of 'guile'.
Date: Wed, 23 Dec 2020 16:06:47 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Ludovic Courtès <ludo@gnu.org> skribis:

> This simplifies setup of build machines: no need to install Guile in
> addition to Guix, no need to set 'GUILE_LOAD_PATH' & co., leading to
> fewer failure modes.
>
> * guix/ssh.scm (remote-run): New procedure.
> (remote-daemon-channel): Use it instead of 'open-remote-pipe*'.
> (store-import-channel)[import]: Remove check for module availability.
> Add call to 'primitive-exit'.
> Use 'remote-run' instead of 'open-remote-pipe'.
> (store-export-channel)[export]: Remove check for module availability.
> Add calls to 'primitive-exit'.
> Use 'remote-run' instead of 'open-remote-pipe'.
> (handle-import/export-channel-error): Remove 'module-error' clause.
> (report-module-error): Remove.
> * guix/scripts/offload.scm (assert-node-has-guix): Replace call to
> 'report-module-error' by 'leave'.
> * doc/guix.texi (Daemon Offload Setup): Remove mention of Guile.
> ---
>  doc/guix.texi            |  2 +-
>  guix/scripts/offload.scm |  3 +-
>  guix/ssh.scm             | 91 +++++++++++++++++++++-------------------
>  3 files changed, 51 insertions(+), 45 deletions(-)

Pushed as 7624ebbae33cf49dded5e9032ed426781c9554f6!

Ludo’.





reply via email to

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