all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

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.