all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* json module
@ 2016-07-26 21:35 Catonano
  2016-07-27  7:17 ` Alex Kost
  0 siblings, 1 reply; 2+ messages in thread
From: Catonano @ 2016-07-26 21:35 UTC (permalink / raw)
  To: help-guix

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: json module
  2016-07-26 21:35 json module Catonano
@ 2016-07-27  7:17 ` Alex Kost
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Kost @ 2016-07-27  7:17 UTC (permalink / raw)
  To: Catonano; +Cc: help-guix

Catonano (2016-07-27 00:35 +0300) wrote:

> 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

When you left, jlicht wrote you something:
<https://gnunet.org/bot/log/guix/2016-07-26#T1086296>

Did you install guile-json and check that guile can find it?  Start
guile and run ",use(json)" there.

-- 
Alex

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-07-27  7:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-26 21:35 json module Catonano
2016-07-27  7:17 ` Alex Kost

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.