unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Prikler <leo.prikler@student.tugraz.at>
To: rg@raghavgururajan.name
Cc: guix-devel@gnu.org
Subject: Re: An idea regarding Guix Profiles
Date: Thu, 28 Jan 2021 11:17:58 +0100	[thread overview]
Message-ID: <e349dae097748dae96fb74521202192103fae1c1.camel@student.tugraz.at> (raw)
In-Reply-To: <8fb526713a76ad993aef59e8a944f57751e970d7.camel@student.tugraz.at>

Hello Raghav,

looking at the way you phrased this in IRC, I just found out, that I
misunderstood your mail.  Basically, what you need to do to achieve
something like that with Guix currently, would be to keep two (or more)
config.scms and reconfigure each one after guix pull in a fixed order. 
Then you have:

O + (K-1)*N + 1: first use case, latest generation
O + (K-1)*N + 2: second use case, latest generation
O + K*N: Nth use case, latest generation

with a buffer of K generations.  I'm not quite sure how you could
better integrate this into GRUB -- perhaps there is an option to set a
custom label?  Then you'd have 
- GNU Guix (server config) #X
- GNU Guix (desktop config) #Y
- GNU Guix (other config config) #Z
where #X, #Y and #Z are generation labels.

Regards,
Leo



  reply	other threads:[~2021-01-28 10:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-28  8:11 An idea regarding Guix Profiles Leo Prikler
2021-01-28 10:17 ` Leo Prikler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-01-28  4:05 Raghav Gururajan
2021-01-28  7:54 ` Maxime Devos
2021-01-28  8:23 ` Pierre Neidhardt
2021-01-28 10:35 ` Nicolò Balzarotti
2021-01-28 21:18 ` Raghav Gururajan
2021-01-28 21:43   ` 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=e349dae097748dae96fb74521202192103fae1c1.camel@student.tugraz.at \
    --to=leo.prikler@student.tugraz.at \
    --cc=guix-devel@gnu.org \
    --cc=rg@raghavgururajan.name \
    /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).