From: Catonano <catonano@gmail.com>
To: help-guix <help-guix@gnu.org>
Subject: json module
Date: Tue, 26 Jul 2016 23:35:22 +0200 [thread overview]
Message-ID: <CAJ98PDxFof5WzZHMcBAA4QoCq6zW0f6ED6iLDHXAJxfngp5o2g@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2355 bytes --]
I'm trying this Guix project
https://github.com/wordempire/guix/
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:
[catonano@xps guix] $ ./pre-inst-env env | grep "GUILE_LOAD_PATH"
GUILE_LOAD_PATH=/home/catonano/jelle/guix:/home/catonano/jelle/guix
[catonano@xps 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
[catonano@xps 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
[catonano@xps guix] $ ./pre-inst-env env | grep "GUILE_LOAD_PATH"
GUILE_LOAD_PATH=/home/catonano/guix:/home/catonano/guix
[catonano@xps 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
[catonano@xps 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)>
why the offical Guix is ok with the json module and Jelle's Guix is not ?
[-- Attachment #2: Type: text/html, Size: 3006 bytes --]
next reply other threads:[~2016-07-26 21:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-26 21:35 Catonano [this message]
2016-07-27 7:17 ` json module Alex Kost
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJ98PDxFof5WzZHMcBAA4QoCq6zW0f6ED6iLDHXAJxfngp5o2g@mail.gmail.com \
--to=catonano@gmail.com \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.