GNU bug report logs - #33778
guix copy fails

Previous Next

Package: guix;

Reported by: Ricardo Wurmus <rekado <at> elephly.net>

Date: Mon, 17 Dec 2018 18:41:01 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 33778 <at> debbugs.gnu.org
Subject: bug#33778: guix copy fails
Date: Wed, 19 Dec 2018 21:17:23 +0100
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





This bug report was last modified 6 years and 176 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.