guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ SPAM? ] Re: Collect guix profiles in single directory.


From: Pierre Neidhardt
Subject: Re: [ SPAM? ] Re: Collect guix profiles in single directory.
Date: Fri, 31 Jan 2020 12:06:57 +0100

zimoun <address@hidden> writes:

>> 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.

Thanks for checking!

>> 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?

Any particular reason?  I'm not sure this is a good approach because it
would entail that the order would change depending on the user
interaction with the profile.  For instance, with profiles A and B, A
comes before B, if I update B then B would come before A.

Thoughts?

-- 
Pierre Neidhardt
https://ambrevar.xyz/

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]