all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: ng0 <ng0@crash.cx>
Cc: guix-devel@gnu.org
Subject: Re: offloading trouble on GuixSD->Debian
Date: Sun, 25 Feb 2018 11:35:20 +0100	[thread overview]
Message-ID: <87o9kdpdav.fsf@elephly.net> (raw)
In-Reply-To: <20180224215715.ldzevt7t7lfe6zh6@abyayala>


ng0 <ng0@crash.cx> writes:

> Marius Bakke transcribed 1.4K bytes:
>> ng0 <ng0@crash.cx> writes:
>> 
>> > Hi,
>> >
>> > I have run into yet another familar(?) problem with offloading.
>> >
>> > My build host for the first time is Debian, so instead of GuixSD master offloading
>> > to an GuixSD build node I'm offloading from GuixSD master to an Debian build
>> > node.
>> > This is a minimal, basic Debian install in the Hetzner cloud.
>> >
>> > I've come as far as:
>> >
>> > user@abyayala ~$ guix offload test
>> > guix offload: testing 1 build machines defined in '/etc/guix/machines.scm'...
>> > guix offload: 'yt' is running guile (GNU Guile) 2.2.3
>> > offload: error: Guile modules not found on remote host 'yt'
>> > hint: Make sure `GUILE_LOAD_PATH' includes Guix' own module directory.  Run
>> > `ssh yt env | grep GUILE_LOAD_PATH' to check.
>> 
>> The "guix" package must be available on GUILE_LOAD_PATH.
>> 
>> Does 'guile -c "(use-modules (guix))"' work for the offloading user?
>
> As I've written, yes, locally it works (guix is available when I log in via ssh and
> execute the command for guile to use the module). via remote non-interactive shell
> it doesn't.

You may want to set GUILE_LOAD_PATH and GUILE_COMPILED_LOAD_PATH in
/etc/environment on the target machine.

Also make sure to kill the Guile process that listens on the target
machine after making changes to the environment or else they won’t have
any effect.

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

  reply	other threads:[~2018-02-25 12:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-24 21:37 offloading trouble on GuixSD->Debian ng0
2018-02-24 21:52 ` Marius Bakke
2018-02-24 21:57   ` ng0
2018-02-25 10:35     ` Ricardo Wurmus [this message]
2018-02-25 11:16       ` ng0
2018-02-24 22:41 ` Chris Marusich
2018-02-24 22:53   ` ng0
2018-02-25 23:40     ` Chris Marusich

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=87o9kdpdav.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=guix-devel@gnu.org \
    --cc=ng0@crash.cx \
    /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.