unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* How to share profile among machines ?
@ 2024-04-24 14:54 Emmanuel Medernach
  2024-04-24 17:37 ` Tomas Volf
  2024-04-25 19:35 ` Felix Lechner via
  0 siblings, 2 replies; 5+ messages in thread
From: Emmanuel Medernach @ 2024-04-24 14:54 UTC (permalink / raw)
  To: help-guix

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



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

end of thread, other threads:[~2024-04-26 14:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-24 14:54 How to share profile among machines ? Emmanuel Medernach
2024-04-24 17:37 ` Tomas Volf
2024-04-25 14:50   ` Emmanuel Medernach
2024-04-25 19:35 ` Felix Lechner via
2024-04-26 14:41   ` Emmanuel Medernach

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