From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Re: Error messages and progress report Date: Tue, 11 Dec 2012 22:15:53 +0100 Message-ID: <201212112215.54222.andreas@enge.fr> References: <201212092101.21170.andreas@enge.fr> <87boe0bqot.fsf@gnu.org> <201212111640.43153.andreas@enge.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="Boundary-01=_KK6xQU+NagvWGpC" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59778) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiXBV-00034g-Eg for bug-guix@gnu.org; Tue, 11 Dec 2012 16:16:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TiXBO-0004mz-Np for bug-guix@gnu.org; Tue, 11 Dec 2012 16:16:13 -0500 In-Reply-To: <201212111640.43153.andreas@enge.fr> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: bug-guix@gnu.org --Boundary-01=_KK6xQU+NagvWGpC Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Am Dienstag, 11. Dezember 2012 schrieb Andreas Enge: > Am Dienstag, 11. Dezember 2012 schrieb Ludovic Court=C3=A8s: > > Anyway, what does work is something like: > > $ guix-package --profile=3D$HOME/.guix-profile --install=3Dhello >=20 > This worked, but in a rather strange way. Well, this is actually not strange, but documented in the manual, I realise upon reading it again. > Yes. Currently =E2=80=98guix-package=E2=80=99 expects the default profil= e to be under > /nix/var/nix/profiles/guix, which typically doesn=E2=80=99t exist, hence = the > failure. However, the current behaviour is not consistent with the documentation. "Instead of referring to these directories, users have their own @dfn{profile}, which points to the packages that they actually want to use. That profile is normally stored in @code{$HOME/.guix-profile}, and each user has its own profile." "@item --profile=3D@var{profile} @itemx -p @var{profile} Use @var{profile} instead of the user's default profile." This should be easy to fix. Andreas --Boundary-01=_KK6xQU+NagvWGpC Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

Am Dienstag= , 11. Dezember 2012 schrieb Andreas Enge:

> Am Die= nstag, 11. Dezember 2012 schrieb Ludovic Court=C3=A8s:

> > A= nyway, what does work is something like:

> > = $ guix-package --profile=3D$HOME/.guix-profile --install=3Dhello

>

> This w= orked, but in a rather strange way.

&nb= sp;

Well, this = is actually not strange, but documented in the manual,

I realise u= pon reading it again.

&nb= sp;

> Yes. = Currently =E2=80=98guix-package=E2=80=99 expects the default profile to be = under

> /nix/v= ar/nix/profiles/guix, which typically doesn=E2=80=99t exist, hence the

> failur= e.

&nb= sp;

However, th= e current behaviour is not consistent with the documentation.

"Inste= ad of referring to these directories, users have their own

@dfn{profil= e}, which points to the packages that they actually want to

use. That = profile is normally stored in @code{$HOME/.guix-profile}, and

each user h= as its own profile."

&nb= sp;

"@item= --profile=3D@var{profile}

@itemx -p @= var{profile}

Use @var{pr= ofile} instead of the user's default profile."

&nb= sp;

This should= be easy to fix.

&nb= sp;

Andreas

&nb= sp;

--Boundary-01=_KK6xQU+NagvWGpC--