[Top][All Lists]

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

Re: guix offloading fails to register GC root

From: Ludovic Courtès
Subject: Re: guix offloading fails to register GC root
Date: Mon, 20 Jun 2016 09:15:36 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)


Ethan J <address@hidden> skribis:

> I was trying to use the guix offloading capability to offloading building
> of packages from my laptop to a more power server. After fighting with lsh
> to get ssh working [1], I ran into this error while running guix build -i
> hello


--8<---------------cut here---------------start------------->8---
ERROR: In procedure scm-error:
ERROR: no code for module (guix config)
--8<---------------cut here---------------end--------------->8---

… indicates that the Guix modules are not in ‘GUILE_LOAD_PATH’ on the
build machine.  The manual hints at it, though I admit it leaves sorting
out the details as an exercise to the user (see

     The ‘guix’ command must be in the search path on the build machines,
  since offloading works by invoking the ‘guix archive’ and ‘guix build’
  commands.  In addition, the Guix modules must be in ‘$GUILE_LOAD_PATH’
  on the build machine—you can check whether this is the case by running:

       lsh build-machine guile -c "'(use-modules (guix config))'"

Could you check ~/.bash_profile or ~/.profile on the target machine and
make sure that it sets ‘GUILE_LOAD_PATH’ and ‘GUILE_LOAD_COMPILED_PATH’


reply via email to

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