Subject: Re: bug#43618: Problem building disk-image with guix from git

From: Ludovic Courtès <[email-masked]>
Date: Mon, 05 Oct 2020 14:28:02 +0200

Hi,

Fredrik Salomonsson <[email-masked]> skribis:

> $ guix environment guix
> $ ./bootstrap
> $ ./configure --localstatedir=/var
> $ make
> ```
>
> Then launched the daemon in one shell:
> ```
> $ sudo -E ./pre-inst-env guix-daemon --build-users-group=guixbuild
> ```

[...]

> substitute: ice-9/boot-9.scm:3300:6: In procedure resolve-interface:
> substitute: no code for module (gcrypt hash)
> guix system: error: `/home/plattfot/projects/guix/scripts/guix substitute' died unexpectedly

This is ‘guix substitute’, invoked by ‘guix-daemon’, telling you that it
can’t find guile-gcrypt on its load path.  ‘sudo -E’ should preserve
GUILE_LOAD_PATH from your environment, but was guile-gcrypt in
$GUILE_LOAD_PATH in the first place?

HTH,
Ludo’.