diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-12-18 11:42:57 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-12-23 16:03:32 +0100 |
commit | 7624ebbae33cf49dded5e9032ed426781c9554f6 (patch) | |
tree | 7b56a75a2b0c048591ca9076990f0bf3af264af5 /guix/scripts | |
parent | be5a75ebb5988b87b2392e2113f6590f353dd6cd (diff) | |
download | guix-patches-7624ebbae33cf49dded5e9032ed426781c9554f6.tar guix-patches-7624ebbae33cf49dded5e9032ed426781c9554f6.tar.gz |
ssh: Use 'guix repl' instead of 'guile'.
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.
Diffstat (limited to 'guix/scripts')
-rw-r--r-- | guix/scripts/offload.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/scripts/offload.scm b/guix/scripts/offload.scm index 58ee53e85c..835078cb97 100644 --- a/guix/scripts/offload.scm +++ b/guix/scripts/offload.scm @@ -634,7 +634,8 @@ daemon is not running." (and add-text-to-store 'alright)) node) ('alright #t) - (_ (report-module-error name))) + (_ (leave (G_ "(guix) module not usable on remote host '~a'") + name))) (match (inferior-eval '(begin (use-modules (guix)) |