From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Prikler Subject: Re: Collect guix profiles in single directory. Date: Fri, 31 Jan 2020 15:34:56 +0100 Message-ID: <4107eddcfc1e77cbbeaad471e9dc8d819d777397.camel@student.tugraz.at> References: <87blrefavb.fsf@gnu.org> <34307ca779925da741af20fa57497c8e13eae7d6.camel@student.tugraz.at> <87tv56av8o.fsf@ambrevar.xyz> <87wo98pwup.fsf@ambrevar.xyz> <97bd40c8513d323e11e63e1083a8bf6c33940840.camel@student.tugraz.at> <87imksoy2z.fsf@ambrevar.xyz> <87y2tnoinc.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:49142) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ixXNl-0004xM-N2 for guix-devel@gnu.org; Fri, 31 Jan 2020 09:34:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ixXNk-0000LI-73 for guix-devel@gnu.org; Fri, 31 Jan 2020 09:34:53 -0500 In-Reply-To: <87y2tnoinc.fsf@ambrevar.xyz> 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-mx.org@gnu.org Sender: "Guix-devel" To: Pierre Neidhardt , Ludovic =?ISO-8859-1?Q?Court=E8s?= Cc: guix-devel@gnu.org Am Freitag, den 31.01.2020, 14:33 +0100 schrieb Pierre Neidhardt: > Leo Prikler writes: > > > Hi Pierre, > > > > Am Freitag, den 31.01.2020, 08:59 +0100 schrieb Pierre Neidhardt: > > > Hi Leo, > > > > > > About ordering: > > > > > > 1. ~/.config/guix/current is special in that it's the channel of > > > Guix > > > and it's installed by "guix pull" unlike other channels. Thus I > > > don't > > > think it belongs to GUIX_PROFILE_DIR. That said, we could > > > introduce > > > another environment variable for those who want to move it > > > somewhere > > > else. > > The whole point of this operation was to put everything into one > > directory, including profiles managed by `guix pull` rather than > > `guix > > package` -- see the subject line and the initial post. > > Yes, but I propose to go even more general: Have a configuration knob > for all files, so that everyone is free to move stuff anywhere they > want. What do you mean by that exactly? One knob for everything as with config-directory? Several knobs for several things? One knob per file or directory? Which knob will do what? > > Conceptually it is a profile like any other. > > But practically I suspect that most users will deal with it > specially. > It would be nice to be able to make the distinction between the > "guix" > profile and the rest. But why is it, that most people deal with it specially and to which extent do they do so? Personally, I can see two big differences: 1. The usage of a different command to populate it. 2. A different config file style (channels.scm over manifest.scm). Other than that, you could maybe cite the fact, that you don't want the guix command installed in any other profile, but that's about it. Even accepting a distinction, there is nothing inside that distinction, that would enforce a separation in storage -- at least as far as I see it. Before you even get to the point of user profiles, guix system puts the guix command together with everything else into the system profile, so it's not even an issue until you try to `guix install guix` despite commonly shared advice on IRC telling you not to.