From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#33778: guix copy fails Date: Wed, 19 Dec 2018 21:17:23 +0100 Message-ID: <875zvptgoc.fsf@elephly.net> References: <87imzsuhdf.fsf@elephly.net> <8736qv24an.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59436) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZiJ7-0005pT-HW for bug-guix@gnu.org; Wed, 19 Dec 2018 15:19:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gZiJ4-0007HX-Cy for bug-guix@gnu.org; Wed, 19 Dec 2018 15:19:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:50863) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gZiJ4-0007HT-9v for bug-guix@gnu.org; Wed, 19 Dec 2018 15:19:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gZiJ4-0002R3-51 for bug-guix@gnu.org; Wed, 19 Dec 2018 15:19:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <8736qv24an.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 33778@debbugs.gnu.org Hi, > Could it be that the (guix =E2=80=A6) modules were not found on the target > machine[=E2=80=A6]? That=E2=80=99s 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 =E2=80=94 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/gui= le/site/2.2")))) --8<---------------cut here---------------end--------------->8--- Should this be done by default? --=20 Ricardo