From: ludo@gnu.org (Ludovic Courtès)
To: Ben Woodcroft <b.woodcroft@uq.edu.au>
Cc: guix-devel@gnu.org
Subject: Re: guix import issue
Date: Sat, 13 Jun 2015 15:14:42 +0200 [thread overview]
Message-ID: <87twubbvi5.fsf@gnu.org> (raw)
In-Reply-To: <557C1350.1050108@uq.edu.au> (Ben Woodcroft's message of "Sat, 13 Jun 2015 21:26:08 +1000")
Ben Woodcroft <b.woodcroft@uq.edu.au> 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 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’.
next prev parent reply other threads:[~2015-06-13 13:14 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-13 1:30 guix import issue Ben Woodcroft
2015-06-13 10:59 ` Ricardo Wurmus
2015-06-13 11:26 ` Ben Woodcroft
2015-06-13 13:14 ` Ludovic Courtès [this message]
2015-06-13 13:22 ` Ben Woodcroft
2015-06-13 14:46 ` Alex Kost
2015-06-14 7:20 ` Ben Woodcroft
2015-06-14 8:22 ` Pjotr Prins
2015-06-13 11:52 ` Pjotr Prins
2015-06-13 11:56 ` Ben Woodcroft
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87twubbvi5.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=b.woodcroft@uq.edu.au \
--cc=guix-devel@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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).