From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Error messages and progress report Date: Wed, 12 Dec 2012 00:15:37 +0100 Message-ID: <87vcc8ch9i.fsf@gnu.org> References: <201212092101.21170.andreas@enge.fr> <201212111322.35235.andreas@enge.fr> <87boe0bqot.fsf@gnu.org> <201212111640.43153.andreas@enge.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49837) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiZ36-00020j-SM for bug-guix@gnu.org; Tue, 11 Dec 2012 18:15:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TiZ35-00069t-Fy for bug-guix@gnu.org; Tue, 11 Dec 2012 18:15:40 -0500 Received: from mail1-relais-roc.national.inria.fr ([192.134.164.82]:43912) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiZ35-00069f-9I for bug-guix@gnu.org; Tue, 11 Dec 2012 18:15:39 -0500 In-Reply-To: <201212111640.43153.andreas@enge.fr> (Andreas Enge's message of "Tue, 11 Dec 2012 16:40:42 +0100") 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: Andreas Enge Cc: bug-guix@gnu.org Andreas Enge skribis: > 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 > > This worked, but in a rather strange way. .guix-profile did not exist > yet. It was created as a symbolic link to the new file > .guix-profile-1-link, itself a symbolic link to > /nix/store/1n6bpxkjq2w1m8nlyc6c6bpf0y8rspi0-user-environment . > > I deleted the redirection and let .guix-profile point to /nix/store/... > directly. Then adding a second package recreates the previous situation, > with .guix-profile-1-link pointing to a different user environment > in /nix/store. And after removing the second package, I get a > .guix-profile-2-link pointing to the previous user environment in > /nix/store. Interesting! This is expected. As with nix-env, there=E2=80=99d normally be a ~/.guix-profile pointing to /nix/var/nix/profiles/per-user/$USER/profile, which would itself point to profile-X-link in the same directory (where X is the generation number.) So what you=E2=80=99re observing is basically this. > As for the rough edges, installing the hello package twice results in > an error message, too. Commit 1c67d63 fixes that. > Another question: My guix source and compile directory gets populated > with symbolic links t-profile* to files /nix/store/*user-environment > that survive even to "make distclean". I suppose I can safely delete them? > If yes, could they be deleted by "make clean"? Yes. These were leftovers from tests/guix-package.sh. I think 7a6548c solves that. Thanks! Ludo=E2=80=99.