Re: guix import issue

2015-06-14 Thread Pjotr Prins
On Sun, Jun 14, 2015 at 05:20:23PM +1000, Ben Woodcroft wrote: > >One of the benefits of Guix is that you can press Ctrl-C any time > >without consequences (I do it regularly). > Thanks for the update. I knew this was true of installing packages, > just wasn't sure about other operations. It is n

Re: guix import issue

2015-06-14 Thread Ben Woodcroft
On 14/06/15 00:46, Alex Kost wrote: Ben Woodcroft (2015-06-13 16:22 +0300) wrote: On 13/06/15 23:14, Ludovic Courtès wrote: I guess the following definitions will allow Guile-JSON to be found, thereby allowing ‘guix import pypi’ to work: export GUILE_LOAD_PATH=$HOME/.guix-profile/share/

Re: guix import issue

2015-06-13 Thread Alex Kost
Ben Woodcroft (2015-06-13 16:22 +0300) wrote: > On 13/06/15 23:14, Ludovic Courtès wrote: >> I guess the following definitions will allow Guile-JSON to be found, >> thereby allowing ‘guix import pypi’ to work: >> >>export GUILE_LOAD_PATH=$HOME/.guix-profile/share/guile/site/2.0 >>export GU

Re: guix import issue

2015-06-13 Thread Ben Woodcroft
On 13/06/15 23:14, Ludovic Courtès wrote: I guess the following definitions will allow Guile-JSON to be found, thereby allowing ‘guix import pypi’ to work: export GUILE_LOAD_PATH=$HOME/.guix-profile/share/guile/site/2.0 export GUILE_LOAD_COMPILED_PATH=$HOME/.guix-profile/share/guile/site

Re: guix import issue

2015-06-13 Thread Ludovic Courtès
Ben Woodcroft skribis: > ben@u:~/guix/ben/packages$ guix package -i guile-json > warning: failed to install locale: Invalid argument > The following package will be installed: >guile-json 0.4.0 > /gnu/store/x1id8rf765mmjqiyr32chrma4ykx8qn5-guile-json-0.4.0 > > The following derivations will

Re: guix import issue

2015-06-13 Thread Ben Woodcroft
On 13/06/15 21:52, Pjotr Prins wrote: I get the same error on my recent build: ./pre-inst-env guix import gnu grep does something, ditto

Re: guix import issue

2015-06-13 Thread Pjotr Prins
I get the same error on my recent build: ./pre-inst-env guix import gnu grep does something, but ./pre-inst-env guix import pypi readlike Backtrace: In ice-9/psyntax.scm: 989: 19 [scan ((define-module (guix scripts import ...) #:use-module ...)) () ...] 279: 18 [scan ((#(syntax-object let #

Re: guix import issue

2015-06-13 Thread Ben Woodcroft
Hi, thanks for the reply. On 13/06/15 20:59, Ricardo Wurmus wrote: ERROR: In procedure scm-error: ERROR: no code for module (json) This means that guile-json cannot be found. It is needed to parse the JSON metadata for a given Python module. Hmm, installing didn't fix it though. The pythonpath

Re: guix import issue

2015-06-13 Thread Ricardo Wurmus
Hi Ben, > $ guix import pypi GroopM [...] > ERROR: In procedure scm-error: > ERROR: no code for module (json) This means that guile-json cannot be found. It is needed to parse the JSON metadata for a given Python module. You initially installed guix with the binary tarball method, did you not

guix import issue

2015-06-13 Thread Ben Woodcroft
Hi, I'm having a little trouble using guix import, after successfully running guix pull. It seems to occur regardless of the specific package I use, and a similar problem occurs when trying to import from cpan (and perhaps others). I have not previously run guix import. Any ideas? $ guix im