unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* profile symlinks structure
       [not found] <1313331337.2299626.1590332180730.ref@mail.yahoo.com>
@ 2020-05-24 14:56 ` vapnik spaknik
  2020-05-25  7:59   ` Pierre Neidhardt
  0 siblings, 1 reply; 3+ messages in thread
From: vapnik spaknik @ 2020-05-24 14:56 UTC (permalink / raw)
  To: help-guix

Hi,
    please could someone help me understand how guix organizes profile symlinks?
I can't find a full explanation anywhere.
So far I have figured out the following:

 - original profile directories are named like: /gnu/store/<UID>-profile
 - /var/guix/profiles/per-user/<USR>/ contains symlinks to the profiles associated with user <USR>
 - symlinks in /var/guix/profiles/per-user/<USR>/ seem to take one of the following forms:

   current-guix
   current-guix-<N>-link
   guix-profile
   guix-profile-<N>-link

    

 - the profile used by "guix package" for user <USR> is symlinked from: 
      ~/.guix-profile -> /var/guix/profiles/per-user/<USR>/guix-profile
 - symlinks to previous generations of that profile are stored as:
      /var/guix/profiles/per-user/<USR>/guix-profile-<N>-link
     where <N> is the generation number
 - the profile used by "guix pull" for user <USR> is symlinked from:
      ~/.config/guix/current -> /var/guix/profiles/per-user/ 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: profile symlinks structure
  2020-05-24 14:56 ` profile symlinks structure vapnik spaknik
@ 2020-05-25  7:59   ` Pierre Neidhardt
  2020-05-25 10:26     ` vapnik spaknik via
  0 siblings, 1 reply; 3+ messages in thread
From: Pierre Neidhardt @ 2020-05-25  7:59 UTC (permalink / raw)
  To: vapnik spaknik, help-guix

[-- Attachment #1: Type: text/plain, Size: 219 bytes --]

Hi!

It seems that you've got it right so far! :)

You'll find more profiles in /var/guix/gcroots/auto: these are the roots
that are automatically created, e.g. when using the `guix package --profile=...`
among others.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: profile symlinks structure
  2020-05-25  7:59   ` Pierre Neidhardt
@ 2020-05-25 10:26     ` vapnik spaknik via
  0 siblings, 0 replies; 3+ messages in thread
From: vapnik spaknik via @ 2020-05-25 10:26 UTC (permalink / raw)
  To: help-guix, Pierre Neidhardt

 Thankyou. 
Btw, the email at the top of this thread was sent by mistake before I had finished writing it. I will continue correspondence on the next thread which contains the complete message.
     On Monday, May 25, 2020, 08:59:33 AM GMT+1, Pierre Neidhardt <mail@ambrevar.xyz> wrote:  
 
 Hi!

It seems that you've got it right so far! :)

You'll find more profiles in /var/guix/gcroots/auto: these are the roots
that are automatically created, e.g. when using the `guix package --profile=...`
among others.
  

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-25 10:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1313331337.2299626.1590332180730.ref@mail.yahoo.com>
2020-05-24 14:56 ` profile symlinks structure vapnik spaknik
2020-05-25  7:59   ` Pierre Neidhardt
2020-05-25 10:26     ` vapnik spaknik via

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