Hi Chris,

Chris Marusich <cmmarus...@gmail.com> skribis:

> $ sudo ./pre-inst-env guix system --fallback reconfigure ~/config.scm 

[...]

> In unknown file:
>            0 (scm-error misc-error #f "~A ~S" ("no code for modu…" …) …)
>
> 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 …

so that your user’s GUILE_LOAD_PATH and GUILE_LOAD_COMPILED_PATH are
preserved.

HTH,
Ludo’.



Reply via email to