unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: vapnik spaknik <vapniks@yahoo.com>
To: help-guix@gnu.org
Subject: profile symlinks structure
Date: Sun, 24 May 2020 14:56:20 +0000 (UTC)	[thread overview]
Message-ID: <1313331337.2299626.1590332180730@mail.yahoo.com> (raw)
In-Reply-To: 1313331337.2299626.1590332180730.ref@mail.yahoo.com

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/ 


       reply	other threads:[~2020-05-24 16:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1313331337.2299626.1590332180730.ref@mail.yahoo.com>
2020-05-24 14:56 ` vapnik spaknik [this message]
2020-05-25  7:59   ` profile symlinks structure Pierre Neidhardt
2020-05-25 10:26     ` vapnik spaknik via

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=1313331337.2299626.1590332180730@mail.yahoo.com \
    --to=vapniks@yahoo.com \
    --cc=help-guix@gnu.org \
    /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.
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).