guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: guix import issue


From: Ludovic Courtès
Subject: Re: guix import issue
Date: Sat, 13 Jun 2015 15:14:42 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Ben Woodcroft <address@hidden> skribis:

> address@hidden:~/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 be built:
>    /gnu/store/3qpy8fk7r68yd65ck2a80557qymay0sk-profile.drv
> /gnu/store/ahgxnsx70jpiz1xdhf5khs3kv155kpa3-ca-certificate-bundle.drv
>    /gnu/store/qahkhjwf7chmik70k70rzr0kzzx0i03m-info-dir.drv
> 5 packages in profile
> The following environment variable definitions may be needed:
>    export PYTHONPATH="/home/ben/.guix-profile/lib/python2.7/site-packages"

Actually ‘guix package’ has failed to tell you about the GUILE_LOAD_PATH
and GUILE_LOAD_COMPILED_PATH variables (that’s because Guile is not
explicitly installed, only used indirectly by Guix.)

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/2.0

Can you confirm?

I think we should improve this by changing the ‘guix’ package to have
the ‘guix’ command wrapped such that GUILE_LOAD_PATH is always correctly
set.  I’ll work on that.

Thank you,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]