From mboxrd@z Thu Jan 1 00:00:00 1970 From: zimoun Subject: Re: [ SPAM? ] Re: Collect guix profiles in single directory. Date: Fri, 31 Jan 2020 09:46:25 +0100 Message-ID: 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> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:51406) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ixRwo-0001DI-Vi for guix-devel@gnu.org; Fri, 31 Jan 2020 03:46:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ixRwo-0002ZR-13 for guix-devel@gnu.org; Fri, 31 Jan 2020 03:46:42 -0500 In-Reply-To: <87imksoy2z.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 Cc: Guix Devel , Leo Prikler Hi, I agree since we have discussed that at the Guix Days. :-) Thank you for reporting that fast. On Fri, 31 Jan 2020 at 08:59, Pierre Neidhardt wrote: > 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. This environment variable already exists: XDG_CONFIG_HOME, I guess. See 'config-directory' in utils.scm, used by pull.scm. > 2. Indeed profiles should be loaded in a well known order. I suggest to > follow the C alphabetical order. Should "default" be sourced before the > rest? Maybe not. I suggest we leave it to the user at this point. By time creation/modification? In any case, this should be clearly documented. Because it is prone error. All the best, simon