From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#33691: pre-inst-env: "no code for module (gcrypt hash)" Date: Thu, 13 Dec 2018 23:56:22 +0100 Message-ID: <87k1kd8295.fsf@gnu.org> References: <87bm5uz5ks.fsf@gmail.com> 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]:47374) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXZuh-0006N1-2b for bug-guix@gnu.org; Thu, 13 Dec 2018 17:57:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gXZug-0002KG-DB for bug-guix@gnu.org; Thu, 13 Dec 2018 17:57:02 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:42784) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gXZug-0002Jn-7z for bug-guix@gnu.org; Thu, 13 Dec 2018 17:57:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gXZug-0000Ej-6z for bug-guix@gnu.org; Thu, 13 Dec 2018 17:57:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87bm5uz5ks.fsf@gmail.com> (Chris Marusich's message of "Sun, 09 Dec 2018 14:41:07 -0800") 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: Chris Marusich Cc: 33691@debbugs.gnu.org Hi Chris, Chris Marusich skribis: > $ sudo ./pre-inst-env guix system --fallback reconfigure ~/config.scm=20 [...] > In unknown file: > 0 (scm-error misc-error #f "~A ~S" ("no code for modu=E2=80=A6= " =E2=80=A6) =E2=80=A6) > > ERROR: In procedure scm-error: > no code for module (gcrypt hash) As others wrote, this looks like an environment issue. Try: sudo -E ./pre-inst-env guix system =E2=80=A6 so that your user=E2=80=99s GUILE_LOAD_PATH and GUILE_LOAD_COMPILED_PATH are preserved. HTH, Ludo=E2=80=99.