all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 33778@debbugs.gnu.org
Subject: bug#33778: guix copy fails
Date: Wed, 19 Dec 2018 21:17:23 +0100	[thread overview]
Message-ID: <875zvptgoc.fsf@elephly.net> (raw)
In-Reply-To: <8736qv24an.fsf@gnu.org>

Hi,

> Could it be that the (guix …) modules were not found on the target
> machine[…]?

That’s it!  The /etc/environment file does not contain lines for
GUILE_LOAD_PATH and GUILE_LOAD_COMPILED_PATH.  I added them manually,
killed the listening Guile process, and tried again — with success.

I remembered that I added these variables to /etc/environment on all
build nodes for berlin.guix.info via a service like this:

--8<---------------cut here---------------start------------->8---
(simple-service 'guile-load-path-in-global-env
                session-environment-service-type
                `(("GUILE_LOAD_PATH"
                   . "/run/current-system/profile/share/guile/site/2.2")
                  ("GUILE_LOAD_COMPILED_PATH"
                   . ,(string-append "/run/current-system/profile/lib/guile/2.2/site-ccache:"
                                     "/run/current-system/profile/share/guile/site/2.2"))))
--8<---------------cut here---------------end--------------->8---

Should this be done by default?

-- 
Ricardo

      parent reply	other threads:[~2018-12-19 20:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-17 18:40 bug#33778: guix copy fails Ricardo Wurmus
2018-12-17 22:10 ` Ludovic Courtès
2018-12-18 21:20   ` Mark H Weaver
2018-12-19 20:17   ` Ricardo Wurmus [this message]

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=875zvptgoc.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=33778@debbugs.gnu.org \
    --cc=ludo@gnu.org \
    /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.