From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH 3/6] emacs: Find packages in system profiles. Date: Thu, 14 Jan 2016 14:27:07 +0100 Message-ID: <87io2ws34k.fsf@gnu.org> References: <1452419630-4399-1-git-send-email-alezost@gmail.com> <1452419630-4399-4-git-send-email-alezost@gmail.com> <878u3ubkzc.fsf@gnu.org> <87pox59pjj.fsf@gmail.com> <87y4btyud0.fsf@gnu.org> <87twmgtv1t.fsf@gmail.com> 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]:59459) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJhvl-0006SX-FD for guix-devel@gnu.org; Thu, 14 Jan 2016 08:27:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aJhvh-0006ST-Ei for guix-devel@gnu.org; Thu, 14 Jan 2016 08:27:13 -0500 In-Reply-To: <87twmgtv1t.fsf@gmail.com> (Alex Kost's message of "Thu, 14 Jan 2016 11:38:38 +0300") 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: Alex Kost Cc: guix-devel@gnu.org Alex Kost skribis: > Ludovic Court=C3=A8s (2016-01-14 01:42 +0300) wrote: > >> Alex Kost skribis: >> >>> Ludovic Court=C3=A8s (2016-01-12 23:28 +0300) wrote: >> >> [...] >> >>>> I had overlooked it, but wouldn=E2=80=99t it be easier if patch #2 did: >>>> >>>> +(defvar guix-system-profile >>>> + (concat guix-config-state-directory "/profiles/system/profile") >>>> + "System profile.") >>>> >>>> ? >>> Not really. >>> >>> Both "/var/guix/profiles/system" (which I called =E2=80=9Csystem profil= e=E2=80=9D) and >>> "/var/guix/profiles/system/profile" (which I called =E2=80=9Cpackages p= rofile=E2=80=9D) >>> are needed. The former =E2=80=94 for finding generations, and the latt= er =E2=80=94 for >>> finding packages. >>> >>> I actually need "/var/guix/profiles/system" in the first place, so if >>> =E2=80=98guix-system-profile=E2=80=99 is not an appropriate name for th= is variable, it >>> should be renamed (what name do you suggest?). >> >> Indeed, it=E2=80=99s confusing. I don=E2=80=99t have a better name to s= uggest, though. > > BTW I've just noticed that '%system-profile' from (guix scripts system) > has the same value, so "/var/guix/profiles/system" can be called a > =E2=80=9Csystem profile=E2=80=9D after all I think ;-) I think so. I guess that shows that I had already been a victim (and a perpetrator?) of this confusion. :-) Ludo=E2=80=99.