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 10:29:47 +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" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:36437) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ixScV-0000vz-4E for guix-devel@gnu.org; Fri, 31 Jan 2020 04:29:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ixScU-00011U-0C for guix-devel@gnu.org; Fri, 31 Jan 2020 04:29:46 -0500 In-Reply-To: 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: zimoun , Pierre Neidhardt Cc: Guix Devel Hi, Am Freitag, den 31.01.2020, 09:46 +0100 schrieb zimoun: > 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. The thing with XDG_CONFIG_HOME and config-directory is, that it doesn't allow me to set config-directory directly AND requires all other configuration to be put in the new XDG_CONFIG_HOME as well. I personally wouldn't mind reading all profiles from config-directory, but I would like a way to set that to ~/.guix. > By time creation/modification? mtime will cause weird bugs if you do single upgrades of profiles. ctime may be acceptable, depending on how familiar one is with touch, but I'd personally prefer reverse alphabetical because it is the easiest to understand. All the best, Leo