From: Emmanuel Medernach <Emmanuel.Medernach@iphc.cnrs.fr>
To: help-guix@gnu.org
Subject: How to share profile among machines ?
Date: Wed, 24 Apr 2024 16:54:19 +0200 [thread overview]
Message-ID: <91ae443f-7dda-4486-bb58-fdc57dea6e38@iphc.cnrs.fr> (raw)
Hello Guix !
How do you share profiles among machines ? For instance 2 users wants to
have the same profile, user A shares the directory
/gnu/store/...-profile to user B, user B either get access to it
directly or from a remote machine with a "guix copy <profile>", user B
could now use this profile like this:
export GUIX_PROFILE="/gnu/store/...-profile"
source "$GUIX_PROFILE/etc/profile"
But there is a problem: this profile is not listed with
guix package --list-profiles
guix gc --list-roots
The problem is that if user A deletes this profile it gets garbage
collected even if user B still needs to use it.
So the question is: How user B could add an existing
/gnu/store/...-profile (either existing directory or obtained from a
guix copy) to the profile and root list ?
Cheers,
Emmanuel
next reply other threads:[~2024-04-24 14:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-24 14:54 Emmanuel Medernach [this message]
2024-04-24 17:37 ` How to share profile among machines ? Tomas Volf
2024-04-25 14:50 ` Emmanuel Medernach
2024-04-25 19:35 ` Felix Lechner via
2024-04-26 14:41 ` Emmanuel Medernach
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=91ae443f-7dda-4486-bb58-fdc57dea6e38@iphc.cnrs.fr \
--to=emmanuel.medernach@iphc.cnrs.fr \
--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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.