unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Prikler <leo.prikler@student.tugraz.at>
To: Pierre Neidhardt <mail@ambrevar.xyz>, zimoun <zimon.toutoune@gmail.com>
Cc: Guix Devel <guix-devel@gnu.org>
Subject: Re: Collect guix profiles in single directory.
Date: Fri, 31 Jan 2020 13:56:58 +0100	[thread overview]
Message-ID: <84d7cfc72428adc154464d99a0f5f287e31dc47e.camel@student.tugraz.at> (raw)
In-Reply-To: <874kwbq1bl.fsf@ambrevar.xyz>

On Fri, 2020-01-31 at 13:04 +0100, Pierre Neidhardt wrote:
> > 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.
> 
> Make sense, we need to define a GUIX_CONFIG_HOME that expands to
> XDG_CONFIG_HOME/guix by default.
Which would mean adding an (override #f) to xdg-directory and adding
#:override (getenv "GUIX_CONFIG_HOME") to config-directory.
Then we'd only have to move ~/.guix-profile to (config-
directory)/default and rename current to channels.

What would we do for backwards compatibility in this case?  Keep the
~/.guix-profile and (config-directory)/current symlink until the user
removes it, perhaps sourcing them twice?

> > > 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.
> 
> To be clear, I think we need to speak in terms of priority: should
> "a"
> have higher priority than "z" or the other way around?
"z" before "a".  Guix profiles prepend paths, so the result will have
e.g. a/bin:z/bin.

  reply	other threads:[~2020-01-31 12:57 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-23 10:59 Collect guix profiles in single directory Leo Prikler
2020-01-06 18:55 ` zimoun
2020-01-06 20:07   ` Alex Griffin
2020-01-06 22:52     ` zimoun
2020-01-07 13:02   ` Leo Prikler
2020-01-06 19:41 ` Pierre Neidhardt
2020-01-08 11:25 ` Ludovic Courtès
2020-01-08 13:48   ` Leo Prikler
2020-01-08 14:16     ` Pierre Neidhardt
2020-01-30 19:28       ` Pierre Neidhardt
2020-01-30 20:08         ` [ SPAM? ] " Leo Prikler
2020-01-31  7:59           ` Pierre Neidhardt
2020-01-31  8:46             ` zimoun
2020-01-31  9:29               ` Leo Prikler
2020-01-31 12:04                 ` Pierre Neidhardt
2020-01-31 12:56                   ` Leo Prikler [this message]
2020-01-31 13:36                     ` Pierre Neidhardt
2020-01-31 11:06               ` [ SPAM? ] " Pierre Neidhardt
2020-01-31  9:18             ` Leo Prikler
2020-01-31 13:33               ` Pierre Neidhardt
2020-01-31 14:34                 ` Leo Prikler
2020-01-31 15:17                   ` Pierre Neidhardt
2020-01-31 15:38                     ` Leo Prikler
2020-01-31 15:52                       ` Pierre Neidhardt
2020-01-08 11:44 ` Raghav Gururajan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=84d7cfc72428adc154464d99a0f5f287e31dc47e.camel@student.tugraz.at \
    --to=leo.prikler@student.tugraz.at \
    --cc=guix-devel@gnu.org \
    --cc=mail@ambrevar.xyz \
    --cc=zimon.toutoune@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).