because I wanted to try Jelle's recursive npm importer
but when I
./pre-inst-env guix import npm ciccio
I get a backtrace and an error:
ERROR: In procedure scm-error:
ERROR: no code for module (json)
(I can provide the whole backtrace if requested)
This doesn't happen with the Guix I cloned from the official repo
In the chat I was advised that (json) is an external module, to inspect the GUIX_LOAD_PATH and GUIX_LOAD_COMPILED_PATH variables
So here we go: Jelle's Guix:
address@hidden guix] $ ./pre-inst-env env | grep "GUILE_LOAD_PATH"
GUILE_LOAD_PATH=/home/catonano/jelle/guix:/home/catonano/jelle/guix
address@hidden guix] $ ./pre-inst-env env | grep "GUILE_LOAD_COMPILED_PATH"
GUILE_LOAD_COMPILED_PATH=/home/catonano/jelle/guix:/home/catonano/.guix-profile/lib/guile/2.2/ccache
address@hidden guix] $ ./pre-inst-env guile
GNU Guile 2.0.11
Copyright (C) 1995-2014 Free Software Foundation, Inc.
Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.
Enter `,help' for help.
scheme@(guile-user)> %load-path
$1
= ("/home/catonano/jelle/guix" "/home/catonano/jelle/guix"
"/usr/share/guile/2.0" "/usr/share/guile/site/2.0"
"/usr/share/guile/site" "/usr/share/guile")
scheme@(guile-user)>
AND the Guix coming from the official repo
address@hidden guix] $ ./pre-inst-env env | grep "GUILE_LOAD_PATH"
GUILE_LOAD_PATH=/home/catonano/guix:/home/catonano/guix
address@hidden guix] $ ./pre-inst-env env | grep "GUILE_LOAD_COMPILED_PATH"
GUILE_LOAD_COMPILED_PATH=/home/catonano/guix:/home/catonano/.guix-profile/lib/guile/2.2/ccache
address@hidden guix] $ ./pre-inst-env guile
GNU Guile 2.0.11
Copyright (C) 1995-2014 Free Software Foundation, Inc.
Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.
Enter `,help' for help.
scheme@(guile-user)> %load-path
$1
= ("/home/catonano/guix" "/home/catonano/guix" "/usr/share/guile/2.0"
"/usr/share/guile/site/2.0" "/usr/share/guile/site" "/usr/share/guile")
scheme@(guile-user)>