From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: guix import issue Date: Sat, 13 Jun 2015 15:14:42 +0200 Message-ID: <87twubbvi5.fsf@gnu.org> References: <557B87A7.9040103@uq.edu.au> <878ubnkh6z.fsf@elephly.net> <557C1350.1050108@uq.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55426) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3lGr-000558-JB for guix-devel@gnu.org; Sat, 13 Jun 2015 09:14:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z3lGo-0003Ab-C9 for guix-devel@gnu.org; Sat, 13 Jun 2015 09:14:49 -0400 In-Reply-To: <557C1350.1050108@uq.edu.au> (Ben Woodcroft's message of "Sat, 13 Jun 2015 21:26:08 +1000") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ben Woodcroft Cc: guix-devel@gnu.org 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 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=3D"/home/ben/.guix-profile/lib/python2.7/site-packag= es" Actually =E2=80=98guix package=E2=80=99 has failed to tell you about the GU= ILE_LOAD_PATH and GUILE_LOAD_COMPILED_PATH variables (that=E2=80=99s 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 =E2=80=98guix import pypi=E2=80=99 to work: export GUILE_LOAD_PATH=3D$HOME/.guix-profile/share/guile/site/2.0 export GUILE_LOAD_COMPILED_PATH=3D$HOME/.guix-profile/share/guile/site/2.0 Can you confirm? I think we should improve this by changing the =E2=80=98guix=E2=80=99 packa= ge to have the =E2=80=98guix=E2=80=99 command wrapped such that GUILE_LOAD_PATH is alw= ays correctly set. I=E2=80=99ll work on that. Thank you, Ludo=E2=80=99.