Hi Fredrik,

Fredrik Salomonsson <[email protected]> skribis:

> I thought that it might be something wrong with my recipe I was writing. So
> I tested to build the GNU Hello package from the manual (Defining Packages
> <https://www.gnu.org/software/guix/manual/html_node/Defining-Packages.html#Defining-Packages>).
> I copied it into a file called gnu/packages/hello.scm
> After that I ran "guix build -L$(pwd) hello".
> But I'm getting these errors:
>
>> guix: offload: command not found
>> Try `guix --help' for more information.
>> guix build: error: build failed: unexpected EOF reading a line

How did you set up guix-daemon?

Behind the scenes, guix-daemon invokes the internal ‘guix offload’
command.  That command requires Guile-SSH¹.  In your case, it looks like
Guile-SSH was found at configure-time when building Guix, but is now
missing at run time, hence this “offload: command not found” error.

Could you make sure the GUILE_LOAD_PATH environment variable seen by
guix-daemon points to Guile-SSH?

HTH,
Ludo’.

¹ https://www.gnu.org/software/guix/manual/html_node/Requirements.html

Reply via email to